Chapter 11 Utilities
Routines
ScaLAPACK Utilities
Print
Prints rank-1 or rank-2 arrays of numbers
, SHOWReal rectangular matrix with integer row and column labels
, WRRRNReal rectangular matrix with given format and labels
, WRRRLInteger rectangular matrix with integer row and column labels
, WRIRNInteger rectangular matrix with given format and labels
, WRIRLComplex rectangular matrix with row and column labels
, WRCRNComplex rectangular matrix with given format and labels
, WRCRLSets or retrieves options for printing a matrix
, WROPTSets or retrieves page width and length
, PGOPTPermute
Elements of a vector
, PERMURows/columns of a matrix
, PERMASort
Sorts a rank-1 array of real numbers
x so the
y results are algebraically
nondecreasing,
y1 ≤ y2 ≤ …
yn, SORT_REALReal vector by algebraic value
, SVRGNReal vector by algebraic value and permutations returned
, SVRGPInteger vector by algebraic value
, SVIGNInteger vector by algebraic value and permutations returned
, SVIGPReal vector by absolute value
, SVRBNReal vector by absolute value and permutations returned
, SVRBPInteger vector by absolute value
, SVIBNInteger vector by absolute value and permutations returned
, SVIBPSearch
Sorted real vector for a number
, SRCHSorted integer vector for a number
, ISRCHSorted character vector for a string
, SSRCHCharacter String Manipulation
Gets the character corresponding to a given ASCII value
, ACHARGet the integer ASCII value for a given character
, IACHARGets upper case integer ASCII value for a character
, ICASECase-insensitive version comparing two strings
, IICSRCase-insensitive version of intrinsic function
, IIDEXConverts a character string with digits to an integer
, CVTSITime, Date, and Version
Number of days from January 1, 1900, to the given date
, NDAYSDate for the number of days from January 1, 1900
, NDYINDay of week for given date
, IDYWKVersion, system, and serial numbers
, VERMLRandom Number Generation
Generates a rank-1 array of random numbers
, RAND_GENRetrieves the current value of the seed
, RNGETInitializes a random seed
, RNSETSelects the uniform (0,1) generator
, RNOPTInitializes the 32-bit Mersenne Twister generator using an array
, RNIN32Retrieves the current table used in the 32-bit Mersenne Twister generator
, RNGE32Sets the current table used in the 32-bit Mersenne Twister generator
, RNSE32Initializes the 32-bit Mersenne Twister generator using an array
, RNIN64Retrieves the current table used in the 64-bit Mersenne Twister generator
, IIDEXSets the current table used in the 64-bit Mersenne Twister generator
, RNSE64Generates pseudorandom numbers (function form)
, RNUNFGenerates pseudorandom numbers
, RNUNLow Discrepancy Sequences
Shuffled Faure sequence initialization
, FAURE_INITFrees the structure containing information about
the Faure sequence
, FAURE_FREEOptions Manager
Gets and puts type INTEGER options
, IUMAGGets and puts type REAL options
, UMAGGets and puts type DOUBLE PRECISION options
, DUMAGLine Printer Graphics
Prints plot of up to 10 sets of points
, PLOTPMiscellaneous
Decomposes an integer into its prime factors
, PRIMEReturns mathematical and physical constants
, CONSTConverts a quantity to different units
, CUNITComputes square root of
a2 +
b2 without underflow or overflow
, HYPOT