Mathematical functions#

The following table lists both implemented and not implemented methods. If you have need of an operation that is listed as not implemented, feel free to open an issue on the GitHub repository, or give a thumbs up to already created issues. Contributions are also welcome!

The following table is structured as follows: The first column contains the method name. The second column contains link to a description of corresponding numpy method. The third column is a flag for whether or not there is an implementation in Xorbits for the method in the left column. Y stands for yes, N stands for no, P standsfor partial (meaning some parameters may not be supported yet), and D stands for default to numpy.

Trigonometric functions#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

sin

sin

Y

cos

cos

Y

tan

tan

Y

arcsin

arcsin

Y

arccos

arccos

Y

arctan

arctan

Y

hypot

hypot

Y

arctan2

arctan2

Y

degrees

degrees

Y

radians

radians

Y

unwrap

unwrap

Y

deg2rad

deg2rad

Y

rad2deg

rad2deg

Y

Hyperbolic functions#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

sinh

sinh

Y

cosh

cosh

Y

tanh

tanh

Y

arcsinh

arcsinh

Y

arccosh

arccosh

Y

arctanh

arctanh

Y

Rounding#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

around

around

Y

rint

rint

Y

fix

fix

Y

floor

floor

Y

ceil

ceil

Y

trunc

trunc

Y

Sums, products, differences#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

prod

prod

Y

sum

sum

Y

nanprod

nanprod

Y

nansum

nansum

Y

cumprod

cumprod

Y

cumsum

cumsum

Y

nancumprod

nancumprod

Y

nancumsum

nancumsum

Y

diff

diff

Y

ediff1d

ediff1d

Y

gradient

gradient

Y

cross

cross

Y

trapz

trapz

Y

Exponents and logarithms#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

exp

exp

Y

expm1

expm1

Y

exp2

exp2

Y

log

log

Y

log10

log10

Y

log2

log2

Y

log1p

log1p

Y

logaddexp

logaddexp

Y

logaddexp2

logaddexp2

Y

Other special functions#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

i0

i0

Y

sinc

sinc

Y

Floating point routines#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

signbit

signbit

Y

copysign

copysign

Y

frexp

frexp

Y

ldexp

ldexp

Y

nextafter

nextafter

Y

spacing

spacing

Y

Rational routines#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

lcm

lcm

Y

gcd

gcd

Y

Arithmetic operations#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

add

add

Y

reciprocal

reciprocal

Y

positive

positive

Y

negative

negative

Y

multiply

multiply

Y

divide

divide

Y

power

power

Y

subtract

subtract

Y

true_divide

true_divide

Y

floor_divide

floor_divide

Y

float_power

float_power

Y

fmod

fmod

Y

mod

mod

Y

modf

modf

Y

remainder

remainder

Y

divmod

divmod

Y

Handling complex numbers#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

angle

angle

Y

real

real

Y

imag

imag

Y

conj

conj

Y

conjugate

conjugate

Y

Extrema Finding#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

maximum

maximum

Y

fmax

fmax

Y

amax

amax

Y

nanmax

nanmax

Y

minimum

minimum

Y

fmin

fmin

Y

amin

amin

Y

nanmin

nanmin

Y

Miscellaneous#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

convolve

convolve

Y

clip

clip

Y

sqrt

sqrt

Y

cbrt

cbrt

Y

square

square

Y

absolute

absolute

Y

fabs

fabs

Y

sign

sign

Y

heaviside

heaviside

Y

nan_to_num

nan_to_num

Y

real_if_close

real_if_close

Y

interp

interp

Y