circuitpython-ulab/numpy-shim/numpy.py
Jeff Epler 196104084b tests: try to fit mp, cp, and py3 into one mold
Mostly by providing a "numpy shim" for CircuitPython,
try to make the numpy tests run on all three systems.
(a "scipy shim" might also be useful?)

However, there are test failures.  Is it worth working
through them and getting this to a point where it could
be included?
2020-11-23 15:17:00 -06:00

14 lines
552 B
Python

from ulab import arange, array, bool, compare, concatenate, diag, dtype, e, eye, float, fft, full, get_printoptions, int16, int8, linalg, linspace, logspace, ndinfo, ones, pi, set_printoptions, uint16, uint8, zeros
from ulab.approx import *
from ulab.compare import *
from ulab.filter import *
from ulab.linalg import *
from ulab.numerical import *
from ulab.poly import *
from ulab.vector import *
arcsin = asin; del asin
arccos = acos; del acos
arctan = atan; del atan
arcsinh = asinh; del asinh
arccosh = acosh; del acosh
arctanh = atanh; del atanh