PasMatLib
Class Tree
Index
Previous (SortVal0)
Next (SVD)

Member
  SortValC

Parent
  uDynLinAlg

Description
 

Simple sort algorithm of the first m components of vector d[Lo..Hi]
and corresponding columns of matrices vr and vi ([Lo1..Hi1,Lo..Hi]).
if (ascending = true) then d[Lo] <= d[Lo+1] <=, . . . <= d[Hi]
the columns are sorted only if (vectors = true)
Author: Nikolai V. Shokhirev, 2002


Source code
  procedure SortValC ( const d : IFArr1D ; const vr , vi : IFArr2D ; m : TInt ; vectors : boolean = true ; ascending : boolean = true )

Parameters
 
Parameter Description
ascending : BOOLEAN #No TAG found in source code#
d : IFArr1D #No TAG found in source code#
m : TInt #No TAG found in source code#
vectors : BOOLEAN #No TAG found in source code#
vi : IFArr2D #No TAG found in source code#
vr : IFArr2D #No TAG found in source code#

PasMatLib
Class Tree
Index
Previous (SortVal0)
Next (SVD)


ŠNikolai V. Shokhirev, 2001-2007
Created with DelphiCodeToDoc. To obtain the latest revision, please visit http://dephicodetodoc.sourceforge.net/