nums.numpy
Functions in the nums.numpy
module.
NumS Supported API
|
Load data from a text file. |
|
Creates a BlockArray. |
|
Return a new array of given shape and type, without initializing entries. |
|
Return an array of zeros with the same shape and type as a given array. |
|
Return an array of ones with the same shape and type as a given array. |
|
Join a sequence of arrays along an existing axis. |
|
Split an array into multiple sub-arrays as views into ary. |
|
Return the identity array. |
|
Return a 2-D array with ones on the diagonal and zeros elsewhere. |
|
Extract a diagonal or construct a diagonal array. |
|
Return the sum along diagonals of the array. |
|
Convert inputs to arrays with at least one dimension. |
|
View inputs as arrays with at least two dimensions. |
|
View inputs as arrays with at least three dimensions. |
|
Stack arrays in sequence horizontally (column wise). |
|
Stack arrays in sequence vertically (row wise). |
|
Stack arrays in sequence depth wise (along third axis). |
|
Stack arrays in sequence vertically (row wise). |
|
Stack 1-D arrays as columns into a 2-D array. |
|
Return evenly spaced values within a given interval. |
|
Return evenly spaced numbers over a specified interval. |
|
Return numbers spaced evenly on a log scale. |
|
Compute tensor dot product along specified axes. |
|
Matrix product of two arrays. |
|
Inner product of two arrays. |
|
Compute the outer product of two vectors. |
|
Dot product of two arrays. |
|
Return the shape of an array. |
|
Return the number of elements along a given axis. |
|
Return the number of dimensions of an array. |
|
Gives a new shape to an array without changing its data. |
|
Expand the shape of an array. |
|
Remove single-dimensional entries from the shape of an array. |
|
Interchange two axes of an array. |
|
Reverse or permute the axes of an array; returns the modified array. |
|
Return an array copy of the given object. |
|
Return the minimum of an array or minimum along an axis. |
|
Return the maximum of an array or maximum along an axis. |
|
Returns the indices of the minimum values along an axis. |
|
Returns the indices of the maximum values along an axis. |
|
Sum of array elements over a given axis. |
|
Compute the arithmetic mean along the specified axis. |
|
Compute the variance along the specified axis. |
|
Compute the standard deviation along the specified axis. |
|
Return elements chosen from x or y depending on condition. |
|
Test whether all array elements along a given axis evaluate to True. |
|
Check if all elements of input array are true. |
|
Test whether any array element along a given axis evaluates to True. |
|
Compute the weighted average along the specified axis. |
|
Compute the median along the specified axis. |
|
Return the maximum of an array or maximum along an axis, ignoring any NaNs. |
|
Return minimum of an array or minimum along an axis, ignoring any NaNs. |
|
Return the sum of array elements over a given axis treating Not a Numbers (NaNs) as zero. |
|
Compute the arithmetic mean along the specified axis, ignoring NaNs. |
|
Compute the variance along the specified axis, while ignoring NaNs. |
|
Compute the standard deviation along the specified axis, while ignoring NaNs. |
|
True if two arrays have the same shape and elements, False otherwise. |
|
Returns True if input arrays are shape consistent and all elements equal. |
|
Returns True if two arrays are element-wise equal within a tolerance. |
|
Calculate the absolute value element-wise. |
|
Calculate the absolute value element-wise. |
|
Trigonometric inverse cosine, element-wise. |
|
Inverse hyperbolic cosine, element-wise. |
|
Inverse sine, element-wise. |
|
Inverse hyperbolic sine element-wise. |
|
Trigonometric inverse tangent, element-wise. |
|
Inverse hyperbolic tangent element-wise. |
|
Compute bit-wise inversion, or bit-wise NOT, element-wise. |
|
Return the cube-root of an array, element-wise. |
|
Return the ceiling of the input, element-wise. |
|
Return the complex conjugate, element-wise. |
|
Return the complex conjugate, element-wise. |
|
Cosine element-wise. |
|
Hyperbolic cosine, element-wise. |
|
Convert angles from degrees to radians. |
|
Convert angles from radians to degrees. |
|
Calculate the exponential of all elements in the input array. |
|
Calculate 2**p for all p in the input array. |
|
Calculate |
|
Compute the absolute values element-wise. |
|
Return the floor of the input, element-wise. |
|
Compute bit-wise inversion, or bit-wise NOT, element-wise. |
|
Test element-wise for finiteness (not infinity or not Not a Number). |
|
Test element-wise for positive or negative infinity. |
|
Test element-wise for NaN and return result as a boolean array. |
|
Natural logarithm, element-wise. |
|
Return the base 10 logarithm of the input array, element-wise. |
|
Return the natural logarithm of one plus the input array, element-wise. |
|
Base-2 logarithm of x. |
|
Compute the truth value of NOT x element-wise. |
|
Numerical negative, element-wise. |
|
Numerical positive, element-wise. |
|
Convert angles from degrees to radians. |
|
Return the reciprocal of the argument, element-wise. |
|
Round elements of the array to the nearest integer. |
|
Returns an element-wise indication of the sign of a number. |
|
Returns element-wise True where signbit is set (less than zero). |
|
Trigonometric sine, element-wise. |
|
Hyperbolic sine, element-wise. |
|
Return the distance between x and the nearest adjacent number. |
|
Return the non-negative square-root of an array, element-wise. |
|
Return the element-wise square of the input. |
|
Compute tangent element-wise. |
|
Compute hyperbolic tangent element-wise. |
|
Return the truncated value of the input, element-wise. |
|
Add arguments element-wise. |
|
Element-wise arc tangent of |
|
Compute the bit-wise AND of two arrays element-wise. |
|
Compute the bit-wise OR of two arrays element-wise. |
|
Compute the bit-wise XOR of two arrays element-wise. |
|
Change the sign of x1 to that of x2, element-wise. |
|
Returns a true division of the inputs, element-wise. |
|
Return (x1 == x2) element-wise. |
|
First array elements raised to powers from second array, element-wise. |
|
Return the largest integer smaller or equal to the division of the inputs. |
|
Element-wise maximum of array elements. |
|
Element-wise minimum of array elements. |
|
Return the element-wise remainder of division. |
|
Return the truth value of (x1 > x2) element-wise. |
|
Return the truth value of (x1 >= x2) element-wise. |
|
Compute the Heaviside step function. |
|
Given the “legs” of a right triangle, return its hypotenuse. |
|
This docstring was copied from numpy.lcm. |
|
Returns x1 * 2**x2, element-wise. |
|
Shift the bits of an integer to the left. |
|
Return the truth value of (x1 < x2) element-wise. |
|
Return the truth value of (x1 =< x2) element-wise. |
|
Logarithm of the sum of exponentiations of the inputs. |
|
Logarithm of the sum of exponentiations of the inputs in base-2. |
|
Compute the truth value of x1 AND x2 element-wise. |
|
Compute the truth value of x1 OR x2 element-wise. |
|
Compute the truth value of x1 XOR x2, element-wise. |
|
Element-wise maximum of array elements. |
|
Element-wise minimum of array elements. |
|
Return element-wise remainder of division. |
|
Multiply arguments element-wise. |
|
Return the next floating-point value after x1 towards x2, element-wise. |
|
This docstring was copied from numpy.not_equal. |
|
First array elements raised to powers from second array, element-wise. |
|
Return element-wise remainder of division. |
|
Shift the bits of an integer to the right. |
|
Subtract arguments, element-wise. |
|
Returns a true division of the inputs, element-wise. |
|
Extract a diagonal or construct a diagonal array. |
|
Return a new array of given shape and type, filled with ones. |
|
Return a new array with the same shape and type as a given array. |
|
Return the sum along diagonals of the array. |
|
Find the k largest or smallest elements of a BlockArray. |