Module NAG_STABLE_SORT in NAGC
Rearranges a vector of arbitrary type objects into ascending or descending order.
Classes : N6a2 . Active internal sorting
Type : C subroutine in NAGC library (M01 sublibrary).
Access : Proprietary. Many implementations available.
Precision: Double.
Note : This procedure may also be invoked using the name m01ctc.
Usage : void nag_stable_sort(Pointer vec[], size_t n, size_t size,
ptrdiff_t stride, Integer (*compare)(const Pointer, const
Pointer), Nag_SortOrder order, NagError *fail)
See also : nag_quicksort (m01csc), nag_rank_sort (m01dsc),
nag_reorder_vector (m01esc), nag_make_indices (m01zac)
Details : Documentation Example Example-input Example-output
Local-details
Sites : (1) ITL
ITL: Unix Workstation Network, National Institute of Standards and
Technology (NIST), Gaithersburg, MD. Available to NIST staff.
Precision: Double.
Note : This procedure may also be invoked using the name m01ctc.
Access available only to NIST staff on internal Unix systems. They may access this
package provided the /itl tree is cross-mounted.
Link : cc -I/itl/links/generic/include -o prog prog.c
-L/itl/links/generic/{lib lib32 lib64}{/mips3 /mips4}
-lnagc -lm
Local-details: cat /itl/apps/nagclib-6/docs/implementation
Documentation: acroread
/itl/apps/nagclib-6/docs/NAGdoc/cl/pdf/M01/m01ctc_cl05.pdf
Example : cat
/itl/apps/nagclib-6/clsol06da/examples/source/m01ctce.c
Example-input: cat
/itl/apps/nagclib-6/clsol06da/examples/data/m01ctce.d
Example-outpu: cat
/itl/apps/nagclib-6/clsol06da/examples/results/m01ctce.r
GAMS is a service of the Mathematical and Computational Sciences Division of the Information Technology Laboratory of the National Institute of Standards and Technology
This page was generated on Fri Jan 09, 2009 at 11:37:29 UTC