arkouda.array_api.elementwise_functions

Functions

abs(→ arkouda.array_api.array_object.Array)

Compute the element-wise absolute value of an array.

acos(→ arkouda.array_api.array_object.Array)

Compute the element-wise arccosine of an array.

acosh(→ arkouda.array_api.array_object.Array)

Compute the element-wise hyperbolic arccosine of an array.

add(→ arkouda.array_api.array_object.Array)

Compute the element-wise sum of two arrays.

asin(→ arkouda.array_api.array_object.Array)

Compute the element-wise arcsine of an array.

asinh(→ arkouda.array_api.array_object.Array)

Compute the element-wise hyperbolic arcsine of an array.

atan(→ arkouda.array_api.array_object.Array)

Compute the element-wise arctangent of an array.

atan2(→ arkouda.array_api.array_object.Array)

Compute the element-wise arctangent of x1/x2.

atanh(→ arkouda.array_api.array_object.Array)

Compute the element-wise hyperbolic arctangent of an array.

bitwise_and(→ arkouda.array_api.array_object.Array)

Compute the element-wise bitwise AND of two arrays.

bitwise_invert(→ arkouda.array_api.array_object.Array)

Compute the element-wise bitwise NOT of an array.

bitwise_left_shift(→ arkouda.array_api.array_object.Array)

Compute the element-wise bitwise left shift of x1 by x2.

bitwise_or(→ arkouda.array_api.array_object.Array)

Compute the element-wise bitwise OR of two arrays.

bitwise_right_shift(→ arkouda.array_api.array_object.Array)

Compute the element-wise bitwise right shift of x1 by x2.

bitwise_xor(→ arkouda.array_api.array_object.Array)

Compute the element-wise bitwise XOR of two arrays.

ceil(→ arkouda.array_api.array_object.Array)

Compute the element-wise ceiling of a floating point array.

conj(→ arkouda.array_api.array_object.Array)

Compute the element-wise complex conjugate of an array.

cos(→ arkouda.array_api.array_object.Array)

Compute the element-wise cosine of an array.

cosh(→ arkouda.array_api.array_object.Array)

Compute the element-wise hyperbolic cosine of an array.

divide(→ arkouda.array_api.array_object.Array)

Compute the element-wise division of x1 by x2.

equal(→ arkouda.array_api.array_object.Array)

Compute the element-wise equality of two arrays.

exp(→ arkouda.array_api.array_object.Array)

Compute the element-wise exponential of an array.

expm1(→ arkouda.array_api.array_object.Array)

Compute the element-wise exponential of x-1.

floor(→ arkouda.array_api.array_object.Array)

Compute the element-wise floor of a floating point array.

floor_divide(→ arkouda.array_api.array_object.Array)

Compute the element-wise floor division of x1 by x2.

greater(→ arkouda.array_api.array_object.Array)

Apply > element-wise to two arrays.

greater_equal(→ arkouda.array_api.array_object.Array)

Apply >= element-wise to two arrays.

imag(→ arkouda.array_api.array_object.Array)

Get the element-wise imaginary part of a Complex array.

isfinite(→ arkouda.array_api.array_object.Array)

Determine if an array's elements are finite.

isinf(→ arkouda.array_api.array_object.Array)

Determine if an array's elements are infinite.

isnan(→ arkouda.array_api.array_object.Array)

Determine if an array's elements are NaN.

less(→ arkouda.array_api.array_object.Array)

Apply < element-wise to two arrays.

less_equal(→ arkouda.array_api.array_object.Array)

Apply <= element-wise to two arrays.

log(→ arkouda.array_api.array_object.Array)

Compute the element-wise natural logarithm of an array.

log10(→ arkouda.array_api.array_object.Array)

Compute the element-wise base-10 logarithm of an array.

log1p(→ arkouda.array_api.array_object.Array)

Compute the element-wise natural logarithm of x+1.

log2(→ arkouda.array_api.array_object.Array)

Compute the element-wise base-2 logarithm of an array.

logaddexp(→ arkouda.array_api.array_object.Array)

Compute the element-wise logarithm of the sum of exponentials of two arrays.

logical_and(→ arkouda.array_api.array_object.Array)

Compute the element-wise logical AND of two boolean arrays.

logical_not(→ arkouda.array_api.array_object.Array)

Compute the element-wise logical NOT of a boolean array.

logical_or(→ arkouda.array_api.array_object.Array)

Compute the element-wise logical OR of two boolean arrays.

logical_xor(→ arkouda.array_api.array_object.Array)

Compute the element-wise logical XOR of two boolean arrays.

multiply(→ arkouda.array_api.array_object.Array)

Compute the element-wise product of two arrays.

negative(→ arkouda.array_api.array_object.Array)

Compute the element-wise negation of an array.

not_equal(→ arkouda.array_api.array_object.Array)

Array API compatible wrapper for np.not_equal.

positive(→ arkouda.array_api.array_object.Array)

Array API compatible wrapper for np.positive.

pow(→ arkouda.array_api.array_object.Array)

Array API compatible wrapper for np.power.

real(→ arkouda.array_api.array_object.Array)

Get the element-wise real part of a Complex array.

remainder(→ arkouda.array_api.array_object.Array)

Compute the element-wise remainder of x1 divided by x2.

round(→ arkouda.array_api.array_object.Array)

Compute the element-wise rounding of an array.

sign(→ arkouda.array_api.array_object.Array)

Compute the element-wise sign of an array.

sin(→ arkouda.array_api.array_object.Array)

Compute the element-wise sine of an array.

sinh(→ arkouda.array_api.array_object.Array)

Compute the element-wise hyperbolic sine of an array.

sqrt(→ arkouda.array_api.array_object.Array)

Compute the element-wise square root of an array.

square(→ arkouda.array_api.array_object.Array)

Compute the element-wise square of an array.

subtract(→ arkouda.array_api.array_object.Array)

Compute the element-wise difference of two arrays.

tan(→ arkouda.array_api.array_object.Array)

Compute the element-wise tangent of an array.

tanh(→ arkouda.array_api.array_object.Array)

Compute the element-wise hyperbolic tangent of an array.

trunc(→ arkouda.array_api.array_object.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.