# lib:math

Math function library

## meta

def lib:math lib:ph, lib:axon, lib:hx lib lib:math 3.1.6.901

## funcs

acos Return the arc cosine Return the arc sine Return the arc tangent Converts rectangular coordinates (x, y) to polar (r, theta) Bitwise and Bitwise not Bitwise or Bitwise left shift Bitwise right shift Bitwise xor Return the smallest whole number greater than or equal to val Return the cosine of angle in radians Return the hyperbolic cosine Return e raised to val Given a grid of x, y coordinates compute the best fit linear regression equation using the ordinary least squares method Return the largest whole number less than or equal to val Return base 10 logarithm of val Return natural logarithm to the base e of val Add two matrices together and return new matrix Return the determinant as a unitless Number for the given matrix which is any value accepted by `toMatrix()` 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 Return the inverse of the given matrix which is any value accepted by `toMatrix()` Multiply two matrices and return new matrix Subtract two matrices and return new matrix Transpose the given matrix which is any value accepted by `toMatrix()` Fold a sample of numbers into their standard average or arithmetic mean Fold a sample of numbers into their MBE (mean bias error) Fold a sample of numbers into their median value which is the middle value of the sorted samples Return constant for pi Return val raised to the specified power Return random integer within given inclusive range Return the remainder or modulo of division Fold a sample of numbers into their RMSE (root mean square error) Returns the nearest whole number to val Return sine of angle in radians Return hyperbolic sine Return square root of val Fold a series of numbers into the standard deviation of a sample Return tangent of angle in radians Return hyperbolic tangent Convert angle in radians to an angle in degrees Convert a general grid to an optimized matrix grid Convert angle in degrees to an angle in radians