Module NAG_SEARCH_VECTOR in NAGC
Searches a vector of arbitrary type data objects for the first or last match to a
given value.
Classes : N5a . Search for extreme value in an array
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 m01fsc.
Usage : Boolean nag_search_vector(Pointer key, Pointer vec, size_t n,
ptrdiff_t stride, Integer (*compare)(const Pointer, const
Pointer), Nag_SortOrder order, Nag_SearchMatch final, Pointer
*match, 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 m01fsc.
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/m01fsc_cl05.pdf
Example-outpu: cat
/itl/apps/nagclib-6/clsol06da/examples/results/m01fsce.r
Example : cat
/itl/apps/nagclib-6/clsol06da/examples/source/m01fsce.c
Example-input: cat
/itl/apps/nagclib-6/clsol06da/examples/data/m01fsce.d
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:38:44 UTC