Math#

abs

Return the element-by-element absolute value(s) of X.

acos

The inverse cosine function.

acosh

The inverse hyperbolic cosine function.

add

Return the element-by-element sum of X and Y.

asin

The inverse sine (arcsine) function.

asinh

The inverse hyperbolic sine function.

atan

The inverse tangent (arctan) function.

atanh

The inverse hyperbolic tangent function.

cbrt

Return the square root of X.

cholesky

Conduct Cholesky decomposition of a symmetric positive-definite matrix.

clip

Clips X to specified range.

clip_

Clips X to specified range.

cos

Apply the function of cos to X.

cosh

The hyperbolic cosine function.

derivative

Return the derivative of func of order n at X.

diag

If X is a vector, return a diagonal matrix.

det

Return the determinant of matrix X.

div

Return element-by-element division of X by Y.

eig

Calculate the eigenvalues and eigenvectors of A.

exp

Apply the exponential function to all elements of X.

exp2

Return 2 raised to the power of X.

expm1

Return exp(X)-1.

gram

Calculate the Gram matrix of the selected columns in the given table.

gramSchmidt

This function converts a matrix of full column rank into an orthogonal matrix.

intersection

If both X and Y are sets, return the intersection of the two sets.

integral

Return the integral of func from start to end.

inverse

Return the inverse matrix of X if it is invertible.

iterate

If init, coeffs and input are all scalars, return a geometric sequence [init*coeffs, init*coeffs^2, init*coeffs^3, …].

log

If Y is not specified: return the natural logarithm of X.

log1p

Return log(1+X).

log10

Return the logarithm of X to the base 10.

log2

Return the logarithm of X to the base 2.

lu

Compute pivoted LU decomposition of a matrix.

mod

Mod means modulus.

mul

Return the element-by-element product of X and Y.

neg

Return the negative of X.

pow

Raise all elements of X to the power of Y.

qr

Perform the QR decomposition of a matrix.

ratio

Returns element-by-element ratio of X to Y.

reciprocal

Return element-by-element reciprocal of X.

repmat

Create a large matrix consisting of a rowRep-by-colRep tiling of copies of X.

schur

Compute the Schur decomposition of a square matrix.

signbit

Detect the sign bit of the input value.

signum

Return 1 if X is positive; 0 if X is 0; -1 if X is negative; NULL if X is null.

sin

The sine function.

sinh

The hyperbolic sine function.

square

Return the square of X.

sqrt

Return the square root of each element in X.

sub

Return the result of element-by-element subtracting Y from X.

svd

Perform the singular decomposition of a matrix.

symmetricDifference

Return the union of two sets minus the intersection of the two sets.

tan

The tangent function.

tanh

The hyperbolic tangent function.

tril

If k is not specified: return the lower triangular portion of matrix X.

triu

If k is not specified: return the upper triangular portion of matrix X.