Introduction > Naming Conventions

Naming Conventions

Most functions are available in both a type float and a type double version, with names of the two versions sharing a common root. Some functions are also available in type int. The following list is of each type and the corresponding prefix of the function name in which multiple type versions exist:

Type

Prefix

float

imsls_f_

double

imsls_d_

int

imsls_i_

The section names for the functions contain only the common root to make finding the func­tions easier. For example, the functions imsls_f_simple_statistics and imsls_d_simple_statistics can be found in Chapter 1, Basic Statistics, in the “simple_statistics” section..

Where appropriate, the same variable name is used consistently throughout the C Stat Library. For example, anova_table denotes the array containing the analysis of variance statistics and y denotes a vector of responses for a dependent variable.

When writing programs accessing the C Stat Library, choose C names that do not conflict with IMSL external names. The careful user can avoid any conflicts with IMSL names if, in choosing names, the following rule is observed:

      Do not choose a name beginning with “imsls_” in any combination of uppercase or lowercase characters.


RW_logo.jpg
Contact Support