Elementwise functions#
- acos(x: Array, /) Array #
Wrapper around the underlying element-wise function
acos
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.acos.html
- acosh(x: Array, /) Array #
Wrapper around the underlying element-wise function
acosh
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.acosh.html
- add(x1, x2, /) Array #
Wrapper around the underlying element-wise function
add
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.add.html- Return type:
- angle(x: Array) Array [source]#
Return the angle of the floating-point fa.Array values in radians. This implementation follows numpy.angle without the deg argument.
- asin(x: Array, /) Array #
Wrapper around the underlying element-wise function
asin
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.asin.html
- asinh(x: Array, /) Array #
Wrapper around the underlying element-wise function
asinh
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.asinh.html
- atan(x: Array, /) Array #
Wrapper around the underlying element-wise function
atan
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.atan.html
- atan2(x1, x2, /) Array #
Wrapper around the underlying element-wise function
atan2
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.atan2.html- Return type:
- atanh(x: Array, /) Array #
Wrapper around the underlying element-wise function
atanh
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.atanh.html
- bitwise_and(x1, x2, /) Array #
Wrapper around the underlying element-wise function
bitwise_and
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.bitwise_and.html- Return type:
- bitwise_invert(x: Array, /) Array #
Wrapper around the underlying element-wise function
bitwise_invert
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.bitwise_invert.html
- bitwise_left_shift(x1, x2, /) Array #
Wrapper around the underlying element-wise function
bitwise_left_shift
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.bitwise_left_shift.html- Return type:
- bitwise_or(x1, x2, /) Array #
Wrapper around the underlying element-wise function
bitwise_or
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.bitwise_or.html- Return type:
- bitwise_right_shift(x1, x2, /) Array #
Wrapper around the underlying element-wise function
bitwise_right_shift
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.bitwise_right_shift.html- Return type:
- bitwise_xor(x1, x2, /) Array #
Wrapper around the underlying element-wise function
bitwise_xor
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.bitwise_xor.html- Return type:
- ceil(x: Array, /) Array #
Wrapper around the underlying element-wise function
ceil
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.ceil.html
- conj(x: Array, /) Array #
Wrapper around the underlying element-wise function
conj
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.conj.html
- copysign(x1, x2, /) Array #
Wrapper around the underlying element-wise function
copysign
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.copysign.html- Return type:
- cos(x: Array, /) Array #
Wrapper around the underlying element-wise function
cos
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.cos.html
- cosh(x: Array, /) Array #
Wrapper around the underlying element-wise function
cosh
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.cosh.html
- divide(x1, x2, /) Array #
Wrapper around the underlying element-wise function
divide
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.divide.html- Return type:
- equal(x1, x2, /) Array #
Wrapper around the underlying element-wise function
equal
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.equal.html- Return type:
- exp(x: Array, /) Array #
Wrapper around the underlying element-wise function
exp
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.exp.html
- expm1(x: Array, /) Array #
Wrapper around the underlying element-wise function
expm1
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.expm1.html
- floor(x: Array, /) Array #
Wrapper around the underlying element-wise function
floor
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.floor.html
- floor_divide(x1, x2, /) Array #
Wrapper around the underlying element-wise function
floor_divide
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.floor_divide.html- Return type:
- greater(x1, x2, /) Array #
Wrapper around the underlying element-wise function
greater
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.greater.html- Return type:
- greater_equal(x1, x2, /) Array #
Wrapper around the underlying element-wise function
greater_equal
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.greater_equal.html- Return type:
- hypot(x1, x2, /) Array #
Wrapper around the underlying element-wise function
hypot
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.hypot.html- Return type:
- imag(x: Array, /) Array #
Wrapper around the underlying element-wise function
imag
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.imag.html
- isfinite(x: Array, /) Array #
Wrapper around the underlying element-wise function
isfinite
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.isfinite.html
- isinf(x: Array, /) Array #
Wrapper around the underlying element-wise function
isinf
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.isinf.html
- isnan(x: Array, /) Array #
Wrapper around the underlying element-wise function
isnan
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.isnan.html
- less(x1, x2, /) Array #
Wrapper around the underlying element-wise function
less
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.less.html- Return type:
- less_equal(x1, x2, /) Array #
Wrapper around the underlying element-wise function
less_equal
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.less_equal.html- Return type:
- log(x: Array, /) Array #
Wrapper around the underlying element-wise function
log
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.log.html
- log10(x: Array, /) Array #
Wrapper around the underlying element-wise function
log10
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.log10.html
- log1p(x: Array, /) Array #
Wrapper around the underlying element-wise function
log1p
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.log1p.html
- log2(x: Array, /) Array #
Wrapper around the underlying element-wise function
log2
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.log2.html
- logaddexp(x1, x2, /) Array #
Wrapper around the underlying element-wise function
logaddexp
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.logaddexp.html- Return type:
- logical_and(x1, x2, /) Array #
Wrapper around the underlying element-wise function
logical_and
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.logical_and.html- Return type:
- logical_not(x: Array, /) Array #
Wrapper around the underlying element-wise function
logical_not
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.logical_not.html
- logical_or(x1, x2, /) Array #
Wrapper around the underlying element-wise function
logical_or
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.logical_or.html- Return type:
- logical_xor(x1, x2, /) Array #
Wrapper around the underlying element-wise function
logical_xor
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.logical_xor.html- Return type:
- maximum(x1, x2, /) Array #
Wrapper around the underlying element-wise function
maximum
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.maximum.html- Return type:
- minimum(x1, x2, /) Array #
Wrapper around the underlying element-wise function
minimum
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.minimum.html- Return type:
- multiply(x1, x2, /) Array #
Wrapper around the underlying element-wise function
multiply
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.multiply.html- Return type:
- negative(x: Array, /) Array #
Wrapper around the underlying element-wise function
negative
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.negative.html
- not_equal(x1, x2, /) Array #
Wrapper around the underlying element-wise function
not_equal
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.not_equal.html- Return type:
- positive(x: Array, /) Array #
Wrapper around the underlying element-wise function
positive
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.positive.html
- pow(x1, x2, /) Array #
Wrapper around the underlying element-wise function
pow
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.pow.html- Return type:
- real(x: Array, /) Array #
Wrapper around the underlying element-wise function
real
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.real.html
- remainder(x1, x2, /) Array #
Wrapper around the underlying element-wise function
remainder
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.remainder.html- Return type:
- round(x: Array, /) Array #
Wrapper around the underlying element-wise function
round
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.round.html
- sign(x: Array, /) Array #
Wrapper around the underlying element-wise function
sign
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.sign.html
- signbit(x: Array, /) Array #
Wrapper around the underlying element-wise function
signbit
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.signbit.html
- sin(x: Array, /) Array #
Wrapper around the underlying element-wise function
sin
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.sin.html
- sinh(x: Array, /) Array #
Wrapper around the underlying element-wise function
sinh
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.sinh.html
- sqrt(x: Array, /) Array #
Wrapper around the underlying element-wise function
sqrt
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.sqrt.html
- square(x: Array, /) Array #
Wrapper around the underlying element-wise function
square
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.square.html
- subtract(x1, x2, /) Array #
Wrapper around the underlying element-wise function
subtract
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.subtract.html- Return type:
- tan(x: Array, /) Array #
Wrapper around the underlying element-wise function
tan
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.tan.html
- tanh(x: Array, /) Array #
Wrapper around the underlying element-wise function
tanh
from the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.tanh.html