Mathematical Functions
Trigonometric functions
Trigonometric sine, element-wise. |
|
Trigonometric cosine, element-wise. |
|
Compute tangent element-wise. |
|
Inverse sine, element-wise. |
|
Trigonometric inverse cosine, element-wise. |
|
Trigonometric inverse tangent, element-wise. |
|
Given the "legs" of a right triangle, return its hypotenuse. |
|
Element-wise arc tangent of |
|
Convert angles from radians to degrees. |
|
Convert angles from degrees to radians. |
|
Unwrap by changing deltas between values to 2*pi complement. |
|
Convert angles from degrees to radians. |
|
Convert angles from radians to degrees. |
Hyperbolic functions
Trigonometric hyperbolic sine, element-wise. |
|
Trigonometric hyperbolic cosine, element-wise. |
|
Compute hyperbolic tangent element-wise. |
|
Inverse hyperbolic sine, element-wise. |
|
Trigonometric inverse hyperbolic cosine, element-wise. |
|
Trigonometric hyperbolic inverse tangent, element-wise. |
Rounding
Evenly round to the given number of decimals. |
|
Round an array to the given number of decimals. |
|
Round a number to the nearest integer toward minus infinity. |
|
Compute the ceiling of the input, element-wise. |
|
Compute the truncated value of the input, element-wise. |
Sums, products, differences
Calculate product of array elements over a given axis. |
|
Sum of array elements over a given axis. |
|
Return the cumulative product of elements along a given axis. |
|
Return the cumulative sum of the elements along a given axis. |
|
Return the cumulative product of array elements over a given axis treating Not a Numbers (NaNs) as one. |
|
Return the cumulative sum of the elements along a given axis. |
|
Calculate sum() function treating 'Not a Numbers' (NaN) as zero. |
|
Calculate prod() function treating 'Not a Numbers' (NaN) as ones. |
|
Return the cross product of two (arrays of) vectors. |
|
Calculate the n-th discrete difference along the given axis. |
|
The differences between consecutive elements of an array. |
|
Return the gradient of an array. |
|
Integrate along the given axis using the composite trapezoidal rule. |
Exponents and logarithms
Trigonometric exponent, element-wise. |
|
Trigonometric exponent minus 1, element-wise. |
|
Trigonometric exponent2, element-wise. |
|
Trigonometric logarithm, element-wise. |
|
Trigonometric logarithm, element-wise. |
|
Trigonometric logarithm, element-wise. |
|
Trigonometric logarithm, element-wise. |
Other special functions
Floating point routines
Change the sign of x1 to that of x2, element-wise. |
Arithmetic operations
Add arguments element-wise. |
|
Return the reciprocal of the argument, element-wise. |
|
Negative element-wise. |
|
Multiply arguments element-wise. |
|
Divide arguments element-wise. |
|
First array elements raised to powers from second array, element-wise. |
|
Subtract arguments, element-wise. |
|
Provide a true division of the inputs, element-wise. |
|
Compute the largest integer smaller or equal to the division of the inputs. |
|
Calculate the element-wise remainder of division. |
|
Compute element-wise remainder of division. |
|
Return the fractional and integral parts of an array, element-wise. |
|
Return element-wise remainder of division. |
Miscellaneous
Returns the discrete, linear convolution of two one-dimensional sequences. |
|
Return the positive square-root of an array, element-wise. |
|
Return the cube-root of an array, element-wise. |
|
Return the element-wise square of the input. |
|
Calculate the absolute value element-wise. |
|
Calculate the absolute value element-wise. |
|
Compute the absolute values element-wise. |
|
Returns an element-wise indication of the sign of a number. |
|
Element-wise maximum of array elements. |
|
Element-wise minimum of array elements. |
|
Element-wise maximum of array elements. |
|
Element-wise minimum of array elements. |