Chapter 15: Utilities > Functions

Functions

Set Output Files

Sets output files............................................................................................... output_file

Gets library version and license number.................................................................. version

Error Handling

Error message options.................................................................................. error_options

Gets error code............................................................................................... error_code

Gets error type................................................................................................. error_type

Gets error message................................................................................... error_message

C Runtime Library

Initializes the library............................................................................................. initialize

Frees memory........................................................................................................... free

Opens a file............................................................................................................ fopen

Closes a file........................................................................................................... fclose

Reads ASCII  files............................................................................................ ascii_read

OpenMP

OpenMP options.......................................................................................... omp_options

Constants

Integer machine constants...................................................................... machine (integer)

Float machine constants............................................................................ machine (float)

Common data sets........................................................................................... data_sets

Mathematical Support

Matrix-vector, matrix-matrix,
vector-vector products.................................................................................. mat_mul_rect

Rearrange elements of vector..................................................................... permute_vector

Interchange rows and columns of matrices.................................................. permute_matrix

Locate and optionally replace dependent variable missing

values with nearest neighbor estimates...................................................... impute_missing

Evaluate the binomial coeficient........................................................... binomial_coefficient

Evaluate the complete beta function........................................................................... beta

Evaluate the real incomplete beta function................................................. beta_incomplete

Evaluate the log of the real beta function............................................................... log_beta

Evaluate the real gamma function.......................................................................... gamma

Evaluate the incomplete gamma function.............................................. gamma_incomplete

Evaluate the logarithm of the absolute value
of the gamma function.................................................................................... log_gamma

Return the number of CPU seconds used.................................................................. ctime

GPU Support

Programming Notes for Using NVIDIA® CUDA™ Toolkit

Gets the switchover value................................................................................... cuda_get

Sets the switchover value................................................................................... cuda_set

Frees NVIDIA memory....................................................................................... cuda_free


RW_logo.jpg
Contact Support