NAG fl90 Library

Chapter 1: Utilities

Chapter Introduction
Module 1.1: nag_lib_support - Library Support Facilities
nag_lib_ident Prints details of the Library implementation
nag_deallocate Deallocates storage from structures with types defined by the Library
Examples
Module 1.2: nag_error_handling - Error Handling
nag_set_error Controls how errors are to be handled by the Library
nag_error Communicates information about error-handling between a user's program and the Library (type)
Examples
Module 1.3: nag_write_mat - Matrix Printing
nag_write_gen_mat Writes a real, complex or integer general matrix
nag_write_tri_mat Writes a real or complex triangular matrix
nag_write_bnd_mat Writes a real or complex band matrix
Examples
Module 1.4: nag_sort - Sorting
nag_sort_vec Sorts a vector of numeric or character data into ascending or descending order
nag_rank_vec Ranks a vector of numeric or character data in ascending or descending order
nag_reorder_vec Reorders a vector of numeric or character data into the order specified by a vector of ranks
nag_rank_mat Ranks the rows or columns of a matrix of integer or real numbers in ascending or descending order
nag_rank_arb_data Ranks arbitrary data according to a user-supplied comparison procedure
nag_invert_perm Inverts a permutation, thus converts a rank vector to an index vector, or vice versa
nag_check_perm Checks the validity of a permutation
nag_decomp_perm Decomposes a permutation into cycles, as an aid to reordering ranked data
Examples
Module 1.5: nag_math_constants - Mathematical Constants
nag_pi Returns an approximation to π
nag_euler_constant Returns an approximation to γ (Euler's constant)
Examples


Release 4 Table of Contents
© The Numerical Algorithms Group Ltd, Oxford UK. 2000