Catalog of Functionality > PV-WAVE Foundation > Mathematics
  

Mathematics
General Mathematical Functions
ABS
Returns the absolute value of x.
ADJOINT
Computes the conjugate transpose of a matrix.
ARRAYTRACE
Computes the trace of a matrix or a tensor contraction on a multidimensional array.
AVG
Standard Library function that returns the average value of an array. Optionally, it can return the average value of one dimension of an array.
BILINEAR
Standard Library function that creates an array containing values calculated using a bilinear interpolation to solve for requested points interior to an input grid specified by the input array.
CHECK_MATH
Returns and clears the accumulated math error status.
CONJ
Returns the complex conjugate of the input variable.
CONVOL
Convolves an array with a kernel (or another array).
CORRELATE
Standard Library function that calculates a simple correlation coefficient for two arrays.
CROSSP
Standard Library function that returns the cross product of two three-element vectors.
CUMSUM
Computes the cumulative sum over an array or over one dimension of an array.
CURVATURES
Standard Library function that computes curvatures on a parametrically defined surface.
CURVEFIT
Standard Library function that performs a nonlinear least-squares fit to a function of an arbitrary number of parameters.
DERIV
Standard Library function that calculates the first derivative of a function in x and y.
DERIVN
Differentiates a function represented by an array.
DETERM
Standard Library function that calculates the determinant of a square, two-dimensional input variable.
EUCLIDEAN
Standard Library function that transforms the Euclidean metric for a Jacobian j = Jacobian( f )
EXPON
Performs general exponentiation.
FACTOR
Returns the prime factorization of an integer greater than 1.
FFT
Returns the Fast Fourier Transform for the input variable.
FINITE
Returns a value indicating if the input variable is finite or not.
GAUSSFIT
Standard Library function that fits a Gaussian curve through a data set.
GCD
Returns the greatest common divisor of some integers greater than 0.
GREAT_INT
Greatest Integer Function. Standard Library function that returns the greatest integer less than or equal to the passed value. Also known as the Floor Function.
HILBERT
Standard Library function that constructs a Hilbert transformation matrix.
IMAGINARY
Returns the imaginary part of a complex number.
INVERT
Returns an inverted copy of a square array.
IQR
Computes elements of the inter-quartile range for the Tukey Box Plot as defined in "The Elements of Graphing Data," Cleveland, W.S., Hobart Press, 1994, pp. 139-142.
ISHFT
Performs the bit shift operation on bytes, integers, and longwords.
JACOBIAN
Standard Library function that computes the Jacobian of a function represented by n m-dimensional arrays.
LAGRANGE
Determines the coefficients for a Lagrange interpolating polynomial associated with a given set of abscissa points and function values.
LCM
Returns the least common multiple of some integers greater than 1.
LUBKSB
Solves the set of n linear equations Ax =b. (LUBKSB must be used with the procedure LUDCMP to do this.)
LUDCMP
Replaces an n-by-n matrix, a, with the LU decomposition of a row-wise permutation of itself.
MPROVE
Iteratively improves the solution vector, x, of a linear set of equations, Ax =b. (You must call the LUDCMP procedure before calling MPROVE.)
NCHSK
Computes binomial coefficients, often stated in words as "N choose K"
NINT
Converts input to the nearest integer.
NORMALS
Standard Library function that computes unit normals on a parametrically defined surface.
POLY
Standard Library function that evaluates a polynomial function of a variable.
POLY_AREA
Standard Library function that returns the area of an n-sided polygon, given the vertices of the polygon.
POLY_FIT
Standard Library function that fits an n-degree polynomial curve through a set of data points using the least-squares method.
POLYFITW
Standard Library function that fits an n-degree polynomial curve through a set of data points using the least-squares method.
PRIME
Returns all positive primes less than or equal to a scalar input.
PRODUCT
Returns the product of all elements in an array.
QUANTILE
Computes quantiles in a distribution.
RANDOMN
Returns one or more normally distributed floating-point pseudo-random numbers with a mean of zero and a standard deviation of 1.
RANDOMU
Returns one or more uniformly distributed floating-point pseudo-random numbers over the range 0 < Y < 1.0.
REGRESS
Standard Library function that fits a curve to data using the multiple linear regression method.
ROUND
Rounds a scalar or an array of FLOAT, DOUBLE, COMPLEX, or DCOMPLEX values to the specified number of decimal points.
SGN(x)
Returns the sign of passed values.
SIGMA
Standard Library function that calculates the standard deviation value of an array. (Optionally, it can also calculate the standard deviation over one dimension of an array as a function of the other dimensions.)
SMALL_INT
Smallest Integer Function. Standard Library function that returns the smallest integer greater than or equal to the passed value. Also known as Ceiling Function.
SOBEL
Performs a Sobel edge enhancement of an image.
SPLINE
Standard Library function that performs a cubic spline interpolation.
STDEV
Standard Library function that computes the standard deviation and (optionally) the mean of the input array.
SUM
Sums an array of n dimensions over one of its dimensions.
SURFACE_FIT
Standard Library function that determines the polynomial fit to a surface.
SVBKSB
Uses “back substitution” to solve the set of simultaneous linear equations Ax = b, given the u, w, and v arrays created by the SVD procedure from the matrix a.
SVD
Performs a singular value decomposition on a matrix.
SVDFIT
Standard Library function that uses singular value decomposition method of least-squares curve fitting to fit polynomial function to data.
TENSOR_* Functions
Compute the generalized tensor product of two arrays.
TOTAL
Sums the elements of an input array.
TQLI
Uses the QL algorithm with implicit shifts to determine the eigenvalues and eigenvectors of a real, symmetric, tridiagonal matrix.
TRED2
Reduces a real, symmetric matrix to tridiagonal form, using Householder’s method.
TRIDAG
Solves tridiagonal systems of linear equations.
vecOverArr_* Functions
Applies a binary operator to a vector and each vector along one dimension of an array.
ZROOTS
Finds the roots of the m-degree complex polynomial, using Laguerre’s method.
Optimization and Regression Routines
CURVEFIT
Standard Library function that performs a nonlinear least-squares fit to a function of an arbitrary number of parameters.
EFFICIENT
Calculates the efficient frontier (a set of optimal portfolios).
GAUSSFIT
Standard Library function that fits a Gaussian curve through a data set.
LAGRANGE
Determines the coefficients for a Lagrange interpolating polynomial associated with a given set of abscissa points and function values.
MINIMIZE
Minimizes a real valued function of n real variables.
POLY_FIT
Standard Library function that fits an n-degree polynomial curve through a set of data points using the least-squares method.
POLYFITW
Standard Library function that fits an n-degree polynomial curve through a set of data points using the least-squares method.
REGRESS
Standard Library function that fits a curve to data using the multiple linear regression method.
SVDFIT
Standard Library function that uses the singular value decomposition method of least-squares curve fitting to fit a polynomial function to data.
Special Mathematical Functions
BESELI
Calculates the Bessel I function for the input parameter.
BESELJ
Calculates the Bessel J function for the input parameter.
BESELY
Calculates the Bessel Y function for the input parameter.
ERRORF
Calculates the standard error function of the input variable.
GAMMA
Calculates the gamma function of the input variable.
GAUSSINT
Evaluates the integral of the Gaussian probability function.
Transcendental Mathematical Functions
ACOS
Returns the arccosine of x.
ACOSH
Returns the inverse hyperbolic cosine of x.
ALOG
Returns the natural logarithm of x.
ALOG10
Returns the logarithm to the base 10 of x.
ASIN
Returns the arcsine of x.
ASINH
Returns the inverse hyperbolic sine of x.
ATAN
Calculates the arctangent of the input variable (s).
ATANH
Returns the inverse hyperbolic tangent of x.
COS
Calculates the cosine of the input variable.
COSH
Calculates the hyperbolic cosine of the input variable.
EXP
Raises e to the power of the value of the input variable.
SIN
Returns the sine of the input variable.
SINH
Returns the hyperbolic sine of the input variable.
SQRT
Calculates the square root of the input variable.
TAN
Returns the tangent of the input variable.
TANH
Returns the hyperbolic tangent of the input variable.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.