Elementwise functions#
- acos(x: Array, /) Array#
Wrapper around the underlying element-wise function
acosfrom 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
acoshfrom 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
addfrom 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
asinfrom 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
asinhfrom 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
atanfrom 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
atan2from 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
atanhfrom 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_andfrom 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_invertfrom 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_shiftfrom 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_orfrom 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_shiftfrom 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_xorfrom 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
ceilfrom 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
conjfrom 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
copysignfrom 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
cosfrom 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
coshfrom 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
dividefrom 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
equalfrom 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
expfrom 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
expm1from 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
floorfrom 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_dividefrom 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
greaterfrom 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_equalfrom 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
hypotfrom 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
imagfrom 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
isfinitefrom 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
isinffrom 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
isnanfrom 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
lessfrom 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_equalfrom 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
logfrom 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
log10from 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
log1pfrom 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
log2from 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
logaddexpfrom 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_andfrom 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_notfrom 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_orfrom 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_xorfrom 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
maximumfrom 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
minimumfrom 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
multiplyfrom 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
negativefrom 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_equalfrom 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
positivefrom 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
powfrom 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
realfrom 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
remainderfrom 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
roundfrom 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
signfrom 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
signbitfrom 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
sinfrom 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
sinhfrom 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
sqrtfrom 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
squarefrom 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
subtractfrom 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
tanfrom 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
tanhfrom the Python Array API standard. See https://data-apis.org/array-api/latest/API_specification/generated/array_api.tanh.html