lib
lib:math
Math function library
meta
funcs
acos |
Return the arc cosine |
---|---|
asin |
Return the arc sine |
atan |
Return the arc tangent |
atan2 |
Converts rectangular coordinates (x, y) to polar (r, theta) |
bitAnd |
Bitwise and |
bitNot |
Bitwise not |
bitOr |
Bitwise or |
bitShiftl |
Bitwise left shift |
bitShiftr |
Bitwise right shift |
bitXor |
Bitwise xor |
ceil |
Return the smallest whole number greater than or equal to val |
cos |
Return the cosine of angle in radians |
cosh |
Return the hyperbolic cosine |
exp |
Return e raised to val |
fitLinearRegression |
Given a grid of x, y coordinates compute the best fit linear regression equation using the ordinary least squares method |
floor |
Return the largest whole number less than or equal to val |
log10 |
Return base 10 logarithm of val |
logE |
Return natural logarithm to the base e of val |
matrixAdd |
Add two matrices together and return new matrix |
matrixDeterminant |
Return the determinant as a unitless Number for the given matrix which is any value accepted by |
matrixFitLinearRegression |
Given a matrix of y coordinates and a matrix of multiple x coordinates compute the best fit multiple linear regression equation using the ordinary least squares method |
matrixInverse |
Return the inverse of the given matrix which is any value accepted by |
matrixMult |
Multiply two matrices and return new matrix |
matrixSub |
Subtract two matrices and return new matrix |
matrixTranspose |
Transpose the given matrix which is any value accepted by |
mean |
Fold a sample of numbers into their standard average or arithmetic mean |
meanBiasErr |
Fold a sample of numbers into their MBE (mean bias error) |
median |
Fold a sample of numbers into their median value which is the middle value of the sorted samples |
pi |
Return constant for pi |
pow |
Return val raised to the specified power |
quantile |
Computes the p*th* quantile of a list of numbers, according to the specified interpolation method |
random |
Return random integer within given inclusive range |
remainder |
Return the remainder or modulo of division |
rootMeanSquareErr |
Fold a sample of numbers into their RMSE (root mean square error) |
round |
Returns the nearest whole number to val |
sin |
Return sine of angle in radians |
sinh |
Return hyperbolic sine |
sqrt |
Return square root of val |
standardDeviation |
Fold a series of numbers into the standard deviation of a sample |
tan |
Return tangent of angle in radians |
tanh |
Return hyperbolic tangent |
toDegrees |
Convert angle in radians to an angle in degrees |
toMatrix |
Convert a general grid to an optimized matrix grid |
toRadians |
Convert angle in degrees to an angle in radians |