Fortran77 Functions

 

RecurDyn supports the following functions of FORTRAN77

 

Function

Usage

ABS(X)

The absolute value of X.

ACOS(X)

The arc cosine(in radians) of X.

AINT(A{KIND})

Truncates a value to a whole number.

Example : AINT(3.678) = 3.0

ASIN(X)

The arc sine(in radians) of X.

ATAN(X)

The arc tangent (in radians) of X.

ATAN2(Y, X)

The inverse arc tangent (in radians) of X, Y.

   ATAN2( Y, X ) = ATAN ( Y / X ) ,          for the 1. and 4. Quarter->  X > 0

   ATAN2( Y, X ) = ATAN ( Y / X ) - PI ,   for the 3. Quarter->   ( X < 0 )  && Y < 0

   ATAN2( Y, X ) = ATAN ( Y / X ) + PI ,  for the 2. Quarter ->  ( X < 0 )  && Y >  0

COS(X)

The cosine (in radians) of X.

COSH(X)

The hyperbolic cosine of X.

DIM(X,Y)

The positive difference between X and Y.

EXP(X)

The exponential value for X.

LOG(X)

The natural logarithm of X.

LOG10(X)

The common logarithm (base10) of X.

MAX(A1,A2)

The maximum value in the set of argument (A1, A2).

A1 and A2 must all have the same type (integer or real) and kind parameters.

MIN(A1,A2)

The minimum value in the set of argument (A1, A2).

A1 and A2 must all have the same type (integer or real) and kind parameters.

MOD(A, P)

The remainder of the arguments has the sign of the first argument.

SIGN(A,B)

A value with the sign transferred from its second argument.

SIN(X)

The sine (in radians) of X.

SINH(X)

The hyperbolic sine of X.

SQRT(X)

The square root of X.

TAN(X)

The tangent (in radian) of X.

TANH(X)

The hyperbolic tangent (in degrees) of X.