Mathematics¶
Arithmetics¶
|
Add arguments element-wise. |
|
Inner product of two arrays. |
|
Matrix product of two arrays. |
|
Multiply arguments element-wise. |
|
Numerical negative, element-wise. |
|
Compute the outer product of two vectors. |
|
Numerical positive, element-wise. |
|
First array elements raised to powers from second array, element-wise. |
|
Subtract arguments, element-wise. |
|
Return the element-wise square of the input. |
Division¶
|
Return true division of the inputs, element-wise. |
|
Return element-wise quotient and remainder simultaneously. |
|
Return the largest integer smaller or equal to the division of the inputs. |
|
Return element-wise remainder of numerical division. |
|
Return a polynomial division of the inputs, element-wise. |
|
Return element-wise quotient and remainder simultaneously. |
|
Return element-wise remainder of polynomial division. |
|
Return element-wise remainder of numerical division. |
|
Return true division of the inputs, element-wise. |
Logic¶
|
Test whether any array element along a given axis evaluates to True. |
|
Test whether all array elements along a given axis evaluate to True. |
|
Return True if two arrays are element-wise equal within a tolerance. |
|
Return (x1 == x2) element-wise. |
|
Return the truth value of (x1 > x2) element-wise. |
|
Return the truth value of (x1 >= x2) element-wise. |
|
Return true where two arrays are element-wise equal within a tolerance. |
|
Test element-wise for finiteness (not infinity or not Not a Number). |
|
Return the truth value of (x1 < x2) element-wise. |
|
Return the truth value of (x1 <= x2) element-wise. |
|
Compute the truth value of x1 AND x2 element-wise. |
|
Compute the truth value of x1 OR x2 element-wise. |
|
Return (x1 != x2) element-wise. |
Rounding¶
|
Calculate the absolute value element-wise. |
|
Calculate the absolute value element-wise. |
|
Evenly round to the given number of decimals. |
|
Return the ceiling of the input, element-wise. |
|
Return the floor of the input, element-wise. |
|
Round elements of the array to the nearest integer. |
|
Evenly round to the given number of decimals. |
|
Evenly round to the given number of decimals. |
Sums/Products¶
|
Return the cumulative sum of the elements along a given axis. |
|
Compute the determinant of an polynomial array. |
|
Compute the arithmetic mean along the specified axis. |
|
Return the product of array elements over a given axis. |
|
Sum of array elements over a given axis. |
Differentiation¶
|
Polynomial differential operator. |
|
Calculate the n-th discrete difference along the given axis. |
|
Difference between consecutive elements of an array. |
|
Polynomial gradient operator. |
|
Construct Hessian matrix of polynomials. |
Min/Max¶
|
Return the maximum of an array or maximum along an axis. |
|
Return the minimum of an array or minimum along an axis. |
|
Return the indices of the minimum values along an axis. |
|
Return the indices of the maximum values along an axis. |
|
Return the maximum of an array or maximum along an axis. |
|
Element-wise maximum of array elements. |
|
Return the minimum of an array or minimum along an axis. |
|
Element-wise minimum of array elements. |
Conditionals¶
|
Construct array from an index array and a set of arrays to choose from. |
|
Count the number of non-zero values in the array a. |
|
Return the indices of the elements that are non-zero. |
|
Return elements chosen from x or y depending on condition. |