Array creation routines#

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.

From shape or value#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

empty

empty

Y

empty_like

empty_like

Y

eye

eye

Y

identity

identity

Y

ones

ones

Y

ones_like

ones_like

Y

zeros

zeros

Y

zeros_like

zeros_like

Y

full

full

Y

full_like

full_like

Y

From existing data#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

array

array

Y

asarray

asarray

Y

asanyarray

asanyarray

Y

ascontiguousarray

ascontiguousarray

Y

asmatrix

asmatrix

Y

copy

copy

Y

frombuffer

frombuffer

Y

from_dlpack

from_dlpack

Y

fromfile

fromfile

Y

fromfunction

fromfunction

Y

fromiter

fromiter

Y

fromstring

fromstring

Y

loadtxt

loadtxt

Y

Numerical ranges#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

arange

arange

Y

linspace

linspace

Y

logspace

logspace

Y

geomspace

geomspace

Y

meshgrid

meshgrid

Y

mgrid

mgrid

Y

ogrid

ogrid

Y

Building matrices#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

diag

diag

Y

diagflat

diagflat

Y

tri

tri

Y

tril

tril

Y

triu

triu

Y

vander

vander

Y

The Matrix class#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

matrix

matrix

Y

bmat

bmat

Y