MatrixBerryCore
Namespaces | Functions
mergesort.m File Reference

Go to the source code of this file.

Namespaces

 mxberry::core::sort
 

Functions

function mxberry::core::sort::mergesort (in x)
 Syntax: sx = mergesort(x);. More...
 
function mxberry::core::sort::mergesorti (in x, in ll, in uu, in kk)
 Sort x(ll:uu) via merge sort Note: In practice, x xhould be passed by reference. More...
 
function mxberry::core::sort::insertionsorti (in x, in ll, in uu)
 Sort x(ll:uu) via insertion sort Note: In practice, x xhould be passed by reference. More...
 
function mxberry::core::sort::merge (in x, in ll, in mm, in uu)
 Combine sorted arrays x(ll:mm) and x((mm + 1):uu) Note: In practice, x xhould be passed by reference. More...