Function |
Argument |
Result |
Explanation |
integer, real or complex |
Integer real complex |
The absolute value |
|
integer |
character |
Integer to ASCII character |
|
real |
real |
Arc cosine |
|
character |
character |
Left adjustment (remove blanks) |
|
character |
character |
Right adjustment |
|
complex |
real |
Imaginary part |
|
real |
real |
Truncate to a whole number |
|
MASK is a logical and not scalar, DIM is an integer |
logical |
True if all elements == mask |
|
array of any type |
logical |
True if allocated in memory |
|
real |
real |
Round to nearest integer |
|
MASK is a logical and not scalar, DIM is an integer |
logical |
True if all elemnts == mask |
|
real |
real |
Arc sine |
|
PTR is a pointer, TGT is a pointer or target |
logical |
determines the status of the pointer PTR or if PTR is associated with the target TGT. |
|
real |
real |
Arc tangent |
|
X+iY with X and Y reals |
real |
Arc tangent |
|
integer |
integer |
Number of bits in argument |
|
I is an integer, POS is an integer |
logical |
Test a bit of an integer |
|
real |
real |
Least integer <= argument |
|
integer |
character |
Integer to ASCCI character |
|
reals |
complex |
Convert to complex number |
|
complex |
complex |
Conjugate the imaginary part |
|
real |
real |
Cosine |
|
real |
real |
Hyperbolic cosine |
|
mask is logical and non scalar, dim is integer |
integer |
Count of true entries in mask |
|
real |
real |
Returns the elapsed CPU time in seconds. |
|
A is an array of any type, shift and dim are integers |
array |
Circular shift of elements |
|
DATE is CHARACTER(LEN=8), TIME is CHARACTER(LEN=10), ZONE is CHARACTER(LEN=5) |
VALUES is INTEGER(8) |
Realtime clock |
|
integer, real or complex |
double precision |
Convert to double precision |
|
integer or real |
integer |
Number of bits in argument |
|
integers or reals |
same type as inputs |
returns the di erence if the result is positive; otherwise returns zero. |
|
1D array |
If the arguments are numeric, the return value is a scalar of numeric type, INTEGER, REAL, or COMPLEX. If the arguments are LOGICAL, the return value is .TRUE. or .FALSE. |
Dot product |
|
real |
double precision |
Double precision dot prod. |
|
ARRAY is an array of any type, not scalar. SHIFT is integer, BOUNDARY is like ARRAY, DIM is INTEGER |
same type and rank as the ARRAY argument |
Array element shift |
|
real |
real |
Smallest positive number |
|
real, complex |
same type and kind as X |
Exponential |
|
real |
integer |
Model exponenet of argument |
|
real |
integer |
Integer <= argument |
|
real |
real |
Fractional pert of argument |
|
real or integer |
same type and kind as X |
Largest number |
|
C is a scalar CHARACTER, KIND is integer |
INTEGER and of kind KIND. If KIND is absent, the return value is of default integer kind. |
Integer value of argument |
|
integer |
integer |
Bitwise logical and |
|
integer |
integer |
Setting a bit to 0 in position pos |
|
integer |
integer |
Extract len bits from pos |
|
integer |
integer |
Set pos bit to one |
|
C is a scalar CHARACTER, KIND is integer |
integer of type KIND or default integer if KIND is missing |
ASCII number of argument |
|
integer |
integer |
Bitwise logical XOR |
|
STRING and SUBSTRING are scalar characters, BACK is a scalar logical and KIND is integer |
integer of type KIND or default integer if KIND is missing |
Position of substring |
|
X is integer, real or complex and kind is integer |
integer |
Convert to integer type |
|
integer |
integer |
bitwise Boolean inclusive-OR of I and J |
|
integer |
integer |
Shift bits by shift |
|
integer |
integer |
Shift circular bits in argument |
|
LOGICAL, INTEGER, REAL, COMPLEX or CHARACTER |
integer |
the kind value of the entity X |
|
ARRAY is an array of any type, DIM and KIN are integers |
integer of kind KIND (default integer if KIND is missing) |
Lower dimension bounds of an array |
|
STRING is a scalar or array of type CHARACTER, KIND is integer |
integer |
Length of a character entity |
|
STRING is a scalar or array of type CHARACTER, KIND is integer |
integer |
Length of a character entity without trailing blank characters |
|
characters |
logical |
Lexical greater than or equal |
|
characters |
logical |
Lexical greater than |
|
characters |
logical |
Lexical less than or equal |
|
characters |
logical |
Lexical less than |
|
REAL or COMPLEX |
REAL or COMPLEX |
Natural logarithm function |
|
REAL or COMPLEX |
REAL or COMPLEX |
Base 10 logarithm function |
|
L is logical, KIND is integer |
logical |
Converts one kind of LOGICAL variable to another |
|
arrays of INTEGER, REAL, COMPLEX, or LOGICAL type, with a rank of one or two |
array |
Performs a matrix multiplication on numeric or logical arguments. |
|
integers or reals |
same type as the rst argument |
Returns the argument with the largest (most positive) value. |
|
REAL |
integer |
Maximum exponent of a real kind |
|
ARRAY is an array of type INTEGER or REAL, DIM is integer and MASK an array of type LOGICAL, and conformable with ARRAY |
integer (array or scalar depending on the call) |
Location of the maximum value within an array |
|
ARRAY is an array of type INTEGER or REAL, DIM is integer and MASK an array of type LOGICAL, and conformable with ARRAY |
integer (array or scalar) |
Maximum value of an array |
|
TSOURCE is of any type, FSOURCE is like TSOURCE, MASK is of type LOGICAL |
The result is of the same type and type parameters as TSOURCE |
Select values from two arrays according to a logical mask. The result is equal to TSOURCE if MASK is .TRUE., or equal to FSOURCE if it is .FALSE.. |
|
A is INTEGER, REAL, or COMPLEX. KIND is integer |
real |
Convert to real type |
|
STRING is a scalar of type CHARACTER. NCOPIES is integer |
characters |
Repeated string concatenation |
|
SOURCE is an array of any type, SHAPE is of type INTEGER and an array of rank one.PAD is an array of the same type as SOURCE. ORDER is of type INTEGER and an array of the same shape as SHAPE. |
array of shape SHAPE with the same type as SOURCE. |
Function to reshape an array |
|
real |
real |
Reciprocal of the relative spacing |
|
X is real, I is integer |
real |
Scale a real value i.e. returns X * RADIX(X)**I |
|
STRING is a string of characters, SET is character, BACK is logical, KIND is integer |
integer |
Scan a string for the presence of a set of characters |
|
integer |
integer |
the kind value of the smallest integer type that can represent all values ranging from -10^R (exclusive) to 10^R (exclusive). |
|
integers |
integer |
the kind value of a real data type with decimal precision of at least P digits, exponent range of at least R, and with a radix of RADIX. |
|
X is real, I is integer |
real |
returns the real number whose fractional part is that that of X and whose exponent part is I. |
|
SOURCE is an array or scalar of any type.i KIND is integer |
integer (scalar or array) |
Determines the shape of an array. |
|
integer or real |
integer or real |
the value of A with the sign of B. |
|
real or complex |
real or complex |
Sine function |
|
real or complex |
real or complex |
Hyperbolic sine function |
|
ARRAY is an array of any type, DIM and KIND are integers |
integer |
Determine the size of an array |
|
SOURCE is a scalar or an array of any type. DIM and NCOPIES are integers |
an array of the same type as SOURCE and has rank n+1 where n equals the rank of SOURCE. |
Add a dimension to an array |
|
real or complex |
real or complex |
Square-root function |
|
ARRAY is an array of INTEGER, REAL or COMPLEX, DIM is integer, MASK is LOGICAL and either be a scalar or an array of the same shape as ARRAY. |
The result is of the same type as ARRAY. |
Sum of array elements |
|
COUNT and COUNT_MAX are integers. COUNT_RATE is integer or REAL |
NONE as it is a subroutine and not a function... |
Time function |
|
real or complex |
real or complex |
Tangent function |
|
real or complex |
real or complex |
Hyperbolic tangent function |
|
real |
real |
Smallest positive number of a real kind |
|
VECTOR is an array of any type and rank one. MASK is an array of type LOGICAL. FIELD is of the same type as VECTOR and have the same shape as MASK. |
same type as VECTOR |
The resulting array corresponds to FIELD with TRUE elements of MASK replaced by values from VECTOR in array element order. |
|
STRING and SET are of type CHARACTER, BACK is logical, KIND is integer |
The return value is of type INTEGER and of kind KIND. |
Scan a string for characters not a given set |