math
for math
Use mathematical functions as aggregate functions on a list of numbers or tables.
Signature
> math
Input/output types:
input | output |
---|---|
nothing | string |
Notes
You must use one of the following subcommands. Using this command as-is will only produce this help message.
Subcommands:
name | type | usage |
---|---|---|
math abs | Builtin | Returns the absolute value of a number. |
math arccos | Builtin | Returns the arccosine of the number. |
math arccosh | Builtin | Returns the inverse of the hyperbolic cosine function. |
math arcsin | Builtin | Returns the arcsine of the number. |
math arcsinh | Builtin | Returns the inverse of the hyperbolic sine function. |
math arctan | Builtin | Returns the arctangent of the number. |
math arctanh | Builtin | Returns the inverse of the hyperbolic tangent function. |
math avg | Builtin | Returns the average of a list of numbers. |
math ceil | Builtin | Returns the ceil of a number (smallest integer greater than or equal to that number). |
math cos | Builtin | Returns the cosine of the number. |
math cosh | Builtin | Returns the hyperbolic cosine of the number. |
math exp | Builtin | Returns e raised to the power of x. |
math floor | Builtin | Returns the floor of a number (largest integer less than or equal to that number). |
math ln | Builtin | Returns the natural logarithm. Base: (math e). |
math log | Builtin | Returns the logarithm for an arbitrary base. |
math max | Builtin | Returns the maximum of a list of values, or of columns in a table. |
math median | Builtin | Computes the median of a list of numbers. |
math min | Builtin | Finds the minimum within a list of values or tables. |
math mode | Builtin | Returns the most frequent element(s) from a list of numbers or tables. |
math product | Builtin | Returns the product of a list of numbers or the products of each column of a table. |
math round | Builtin | Returns the input number rounded to the specified precision. |
math sin | Builtin | Returns the sine of the number. |
math sinh | Builtin | Returns the hyperbolic sine of the number. |
math sqrt | Builtin | Returns the square root of the input number. |
math stddev | Builtin | Returns the standard deviation of a list of numbers, or of each column in a table. |
math sum | Builtin | Returns the sum of a list of numbers or of each column in a table. |
math tan | Builtin | Returns the tangent of the number. |
math tanh | Builtin | Returns the hyperbolic tangent of the number. |
math variance | Builtin | Returns the variance of a list of numbers or of each column in a table. |