Skip to content

Latest commit

 

History

History

math

README.md

math

Access every method through the namespace form Numeric.math.method.

Methods

Method Description
abs Applies the absolute value across nested numeric inputs.
add Combines operands with NumPy style broadcast.
cbrt Applies the cube root across nested numeric inputs.
ceil Applies the ceiling function across nested numeric inputs.
clip Clamps nested numeric inputs between lower and upper bounds.
convolve Computes discrete convolution over the signal entries.
diff Repeats finite differencing to reach the requested order.
div Combines operands with NumPy style broadcast.
exp Applies an exponential variant across nested inputs.
floor Applies the floor function across nested numeric inputs.
frexp Decomposes each value into fraction and power.
gcd Combines operands with NumPy style broadcast.
gradient Estimates derivatives from adjacent sample differences.
heaviside Returns one above the threshold and zero below it.
integrate Applies trapezoidal integration over vector or matrix samples.
interp Performs piecewise linear interpolation between known points.
lcm Combines operands with NumPy style broadcast.
ldexp Combines operands with NumPy style broadcast.
log Applies a logarithm variant across nested numeric inputs.
logaddexp Combines operands with NumPy style broadcast.
mod Combines operands with NumPy style broadcast.
modf Separates each value into its whole and fractional portions.
mul Combines operands with NumPy style broadcast.
nextafter Steps each element toward positive or negative infinity.
pow Combines operands with NumPy style broadcast.
reciprocal Divides one by every element in nested numeric inputs.
round Applies rounding across nested numeric inputs.
sign Reports sign as magnitude, boolean, or bit pattern.
sinc Evaluates sin(x)/x across nested numeric inputs.
spacing Measures the gap to the next floating point number.
sqrt Applies the square root across nested numeric inputs.
square Multiplies every element by itself in nested inputs.
sub Combines operands with NumPy style broadcast.
trunc Applies truncation across nested numeric inputs.