RATS 10.1
RATS 10.1

Functions /

Mathematical Functions

Home Page

← Previous Next →

These include many standard real-valued mathematical functions. Trigonometric (and hyperbolic trig) functions, probability distributions and density functions and matrix functions are in separate lists.
 

abs(x)

Absolute value of a scalar or matrix

%besselj(n,x)

Bessel function of the first kind

%binomial(x,n)

Binomial coefficient

%boxcox(x,y)

Box-Cox transformation

exp(x)

Exponentiation function

%factorial(x)

Factorial function

fix(x)

Convert real to integer by truncation

float(n)

Convert integer to real

%frac(x)

Fraction of a real number

%isimpson(x,f)

Computes numerical integral by Simpson’s rule

%itrapezoid(x,f)

Computes numerical integral by trapezoidal rule

log(x)

Natural log function

%max(x,y)

Maximum of two reals

%min(x,y)

Minimum of two reals

%noprec(x)

Tests for loss of precision

%round(x,n)

Rounding

%sign(x)

Sign function

sqrt(x)

Square root function

%tsign(x,y)

Sign transfer

%valid(x)

Check for valid (non-missing) value


 


Copyright © 2025 Thomas A. Doan