arkouda.array_api.elementwise_functions¶
Functions¶
|
Compute the element-wise absolute value of an array. |
|
Compute the element-wise arccosine of an array. |
|
Compute the element-wise hyperbolic arccosine of an array. |
|
Compute the element-wise sum of two arrays. |
|
Compute the element-wise arcsine of an array. |
|
Compute the element-wise hyperbolic arcsine of an array. |
|
Compute the element-wise arctangent of an array. |
|
Compute the element-wise arctangent of x1/x2. |
|
Compute the element-wise hyperbolic arctangent of an array. |
|
Compute the element-wise bitwise AND of two arrays. |
|
Compute the element-wise bitwise NOT of an array. |
|
Compute the element-wise bitwise left shift of x1 by x2. |
|
Compute the element-wise bitwise OR of two arrays. |
|
Compute the element-wise bitwise right shift of x1 by x2. |
|
Compute the element-wise bitwise XOR of two arrays. |
|
Compute the element-wise ceiling of a floating point array. |
|
Compute the element-wise complex conjugate of an array. |
|
Compute the element-wise cosine of an array. |
|
Compute the element-wise hyperbolic cosine of an array. |
|
Compute the element-wise division of x1 by x2. |
|
Compute the element-wise equality of two arrays. |
|
Compute the element-wise exponential of an array. |
|
Compute the element-wise exponential of x-1. |
|
Compute the element-wise floor of a floating point array. |
|
Compute the element-wise floor division of x1 by x2. |
|
Apply > element-wise to two arrays. |
|
Apply >= element-wise to two arrays. |
|
Get the element-wise imaginary part of a Complex array. |
|
Determine if an array's elements are finite. |
|
Determine if an array's elements are infinite. |
|
Determine if an array's elements are NaN. |
|
Apply < element-wise to two arrays. |
|
Apply <= element-wise to two arrays. |
|
Compute the element-wise natural logarithm of an array. |
|
Compute the element-wise base-10 logarithm of an array. |
|
Compute the element-wise natural logarithm of x+1. |
|
Compute the element-wise base-2 logarithm of an array. |
|
Compute the element-wise logarithm of the sum of exponentials of two arrays. |
|
Compute the element-wise logical AND of two boolean arrays. |
|
Compute the element-wise logical NOT of a boolean array. |
|
Compute the element-wise logical OR of two boolean arrays. |
|
Compute the element-wise logical XOR of two boolean arrays. |
|
Compute the element-wise product of two arrays. |
|
Compute the element-wise negation of an array. |
|
Array API compatible wrapper for |
|
Array API compatible wrapper for |
|
Array API compatible wrapper for |
|
Get the element-wise real part of a Complex array. |
|
Compute the element-wise remainder of x1 divided by x2. |
|
Compute the element-wise rounding of an array. |
|
Compute the element-wise sign of an array. |
|
Compute the element-wise sine of an array. |
|
Compute the element-wise hyperbolic sine of an array. |
|
Compute the element-wise square root of an array. |
|
Compute the element-wise square of an array. |
|
Compute the element-wise difference of two arrays. |
|
Compute the element-wise tangent of an array. |
|
Compute the element-wise hyperbolic tangent of an array. |
|
Compute the element-wise truncation of a floating-point array. |
Module Contents¶
- arkouda.array_api.elementwise_functions.abs(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise absolute value of an array.
- arkouda.array_api.elementwise_functions.acos(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise arccosine of an array.
- arkouda.array_api.elementwise_functions.acosh(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise hyperbolic arccosine of an array.
- arkouda.array_api.elementwise_functions.add(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise sum of two arrays.
- arkouda.array_api.elementwise_functions.asin(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise arcsine of an array.
- arkouda.array_api.elementwise_functions.asinh(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise hyperbolic arcsine of an array.
- arkouda.array_api.elementwise_functions.atan(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise arctangent of an array.
- arkouda.array_api.elementwise_functions.atan2(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise arctangent of x1/x2.
- arkouda.array_api.elementwise_functions.atanh(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise hyperbolic arctangent of an array.
- arkouda.array_api.elementwise_functions.bitwise_and(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise bitwise AND of two arrays.
- arkouda.array_api.elementwise_functions.bitwise_invert(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise bitwise NOT of an array.
- arkouda.array_api.elementwise_functions.bitwise_left_shift(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise bitwise left shift of x1 by x2.
- arkouda.array_api.elementwise_functions.bitwise_or(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise bitwise OR of two arrays.
- arkouda.array_api.elementwise_functions.bitwise_right_shift(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise bitwise right shift of x1 by x2.
- arkouda.array_api.elementwise_functions.bitwise_xor(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise bitwise XOR of two arrays.
- arkouda.array_api.elementwise_functions.ceil(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise ceiling of a floating point array.
- arkouda.array_api.elementwise_functions.conj(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise complex conjugate of an array.
WARNING: Not yet implemented.
- arkouda.array_api.elementwise_functions.cos(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise cosine of an array.
- arkouda.array_api.elementwise_functions.cosh(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise hyperbolic cosine of an array.
- arkouda.array_api.elementwise_functions.divide(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise division of x1 by x2.
- arkouda.array_api.elementwise_functions.equal(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise equality of two arrays.
- arkouda.array_api.elementwise_functions.exp(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise exponential of an array.
- arkouda.array_api.elementwise_functions.expm1(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise exponential of x-1.
- arkouda.array_api.elementwise_functions.floor(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise floor of a floating point array.
- arkouda.array_api.elementwise_functions.floor_divide(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise floor division of x1 by x2.
- arkouda.array_api.elementwise_functions.greater(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Apply > element-wise to two arrays.
- arkouda.array_api.elementwise_functions.greater_equal(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Apply >= element-wise to two arrays.
- arkouda.array_api.elementwise_functions.imag(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Get the element-wise imaginary part of a Complex array.
WARNING: Not yet implemented.
- arkouda.array_api.elementwise_functions.isfinite(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Determine if an array’s elements are finite.
- arkouda.array_api.elementwise_functions.isinf(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Determine if an array’s elements are infinite.
- arkouda.array_api.elementwise_functions.isnan(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Determine if an array’s elements are NaN.
- arkouda.array_api.elementwise_functions.less(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Apply < element-wise to two arrays.
- arkouda.array_api.elementwise_functions.less_equal(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Apply <= element-wise to two arrays.
- arkouda.array_api.elementwise_functions.log(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise natural logarithm of an array.
- arkouda.array_api.elementwise_functions.log10(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise base-10 logarithm of an array.
- arkouda.array_api.elementwise_functions.log1p(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise natural logarithm of x+1.
- arkouda.array_api.elementwise_functions.log2(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise base-2 logarithm of an array.
- arkouda.array_api.elementwise_functions.logaddexp(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise logarithm of the sum of exponentials of two arrays. (i.e., log(exp(x1) + exp(x2)))
WARNING: Not yet implemented.
- arkouda.array_api.elementwise_functions.logical_and(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise logical AND of two boolean arrays.
- arkouda.array_api.elementwise_functions.logical_not(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise logical NOT of a boolean array.
- arkouda.array_api.elementwise_functions.logical_or(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise logical OR of two boolean arrays.
- arkouda.array_api.elementwise_functions.logical_xor(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise logical XOR of two boolean arrays.
- arkouda.array_api.elementwise_functions.multiply(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise product of two arrays.
- arkouda.array_api.elementwise_functions.negative(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise negation of an array.
- arkouda.array_api.elementwise_functions.not_equal(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Array API compatible wrapper for
np.not_equal
.See its docstring for more information.
- arkouda.array_api.elementwise_functions.positive(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Array API compatible wrapper for
np.positive
.See its docstring for more information.
- arkouda.array_api.elementwise_functions.pow(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Array API compatible wrapper for
np.power
.See its docstring for more information.
- arkouda.array_api.elementwise_functions.real(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Get the element-wise real part of a Complex array.
WARNING: Not yet implemented.
- arkouda.array_api.elementwise_functions.remainder(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise remainder of x1 divided by x2.
- arkouda.array_api.elementwise_functions.round(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise rounding of an array.
- arkouda.array_api.elementwise_functions.sign(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise sign of an array.
- arkouda.array_api.elementwise_functions.sin(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise sine of an array.
- arkouda.array_api.elementwise_functions.sinh(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise hyperbolic sine of an array.
- arkouda.array_api.elementwise_functions.sqrt(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise square root of an array.
- arkouda.array_api.elementwise_functions.square(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise square of an array.
- arkouda.array_api.elementwise_functions.subtract(x1: arkouda.array_api.array_object.Array, x2: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise difference of two arrays.
- arkouda.array_api.elementwise_functions.tan(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise tangent of an array.
- arkouda.array_api.elementwise_functions.tanh(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise hyperbolic tangent of an array.
- arkouda.array_api.elementwise_functions.trunc(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array [source]¶
Compute the element-wise truncation of a floating-point array.