Element-wise functions

Element-wise functions applied to input array(s) produce an output array of respective function values computed for every element of input array(s).

abs

abs(x, /, *, out=None, order='K')

acos

acos(x, /, *, out=None, order='K')

acosh

acosh(x, /, *, out=None, order='K')

add

add(x1, x2, /, *, out=None, order='K')

angle

angle(x, /, *, out=None, order='K')

asin

asin(x, /, *, out=None, order='K')

asinh

asinh(x, /, *, out=None, order='K')

atan

atan(x, /, *, out=None, order='K')

atan2

atan2(x1, x2, /, *, out=None, order='K')

atanh

atanh(x, /, *, out=None, order='K')

bitwise_and

bitwise_and(x1, x2, /, *, out=None, order='K')

bitwise_left_shift

bitwise_left_shift(x1, x2, /, *, out=None, order='K')

bitwise_invert

bitwise_invert(x, /, *, out=None, order='K')

bitwise_or

bitwise_or(x1, x2, /, *, out=None, order='K')

bitwise_right_shift

bitwise_right_shift(x1, x2, /, *, out=None, order='K')

bitwise_xor

bitwise_xor(x1, x2, /, *, out=None, order='K')

cbrt

cbrt(x, /, *, out=None, order='K')

ceil

ceil(x, /, *, out=None, order='K')

clip(x[, min, max, out, order])

Clips to the range [min_i, max_i] for each element x_i in x.

conj

conj(x, /, *, out=None, order='K')

copysign

copysign(x1, x2, /, *, out=None, order='K')

cos

cos(x, /, *, out=None, order='K')

cosh

cosh(x, /, *, out=None, order='K')

divide

divide(x1, x2, /, *, out=None, order='K')

equal

equal(x1, x2, /, *, out=None, order='K')

exp

exp(x, /, *, out=None, order='K')

exp2

exp2(x, /, *, out=None, order='K')

expm1

expm1(x, /, *, out=None, order='K')

floor

floor(x, /, *, out=None, order='K')

floor_divide

floor_divide(x1, x2, /, *, out=None, order='K')

greater

greater(x1, x2, /, *, out=None, order='K')

greater_equal

greater_equal(x1, x2, /, *, out=None, order='K')

hypot

hypot(x1, x2, /, *, out=None, order='K')

imag

imag(x, /, *, out=None, order='K')

isfinite

isfinite(x, /, *, out=None, order='K')

isinf

isinf(x, /, *, out=None, order='K')

isnan

isnan(x, /, *, out=None, order='K')

less

less(x1, x2, /, *, out=None, order='K')

less_equal

less_equal(x1, x2, /, *, out=None, order='K')

log

log(x, /, *, out=None, order='K')

log1p

log1p(x, /, *, out=None, order='K')

log2

log2(x, /, *, out=None, order='K')

log10

log10(x, /, *, out=None, order='K')

logaddexp

logaddexp(x1, x2, /, *, out=None, order='K')

logical_and

logical_and(x1, x2, /, *, out=None, order='K')

logical_not

logical_not(x, /, *, out=None, order='K')

logical_or

logical_or(x1, x2, /, *, out=None, order='K')

logical_xor

logical_xor(x1, x2, /, *, out=None, order='K')

maximum

maximum(x1, x2, /, *, out=None, order='K')

minimum

minimum(x1, x2, /, *, out=None, order='K')

multiply

multiply(x1, x2, /, *, out=None, order='K')

negative

negative(x, /, *, out=None, order='K')

nextafter

nextafter(x1, x2, /, *, out=None, order='K')

not_equal

not_equal(x1, x2, /, *, out=None, order='K')

positive

positive(x, /, *, out=None, order='K')

pow

pow(x1, x2, /, *, out=None, order='K')

real

real(x, /, *, out=None, order='K')

remainder

remainder(x1, x2, /, *, out=None, order='K')

reciprocal

reciprocal(x, /, *, out=None, order='K')

round

round(x, /, *, out=None, order='K')

rsqrt

rsqrt(x, /, *, out=None, order='K')

sign

sign(x, /, *, out=None, order='K')

signbit

signbit(x, /, *, out=None, order='K')

sin

sin(x, /, *, out=None, order='K')

sinh

sinh(x, /, *, out=None, order='K')

square

square(x, /, *, out=None, order='K')

sqrt

sqrt(x, /, *, out=None, order='K')

subtract

subtract(x1, x2, /, *, out=None, order='K')

tan

tan(x, /, *, out=None, order='K')

tanh

tanh(x, /, *, out=None, order='K')

trunc

trunc(x, /, *, out=None, order='K')