symnum.numpy module#

Implementation of a subset of the NumPy API using SymPy primitives.

symnum.numpy.abs(x, *args, **kwargs)#

SymNum implementation of numpy.abs.

symnum.numpy.absolute(x, *args, **kwargs)#

SymNum implementation of numpy.absolute.

symnum.numpy.add(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.add.

symnum.numpy.angle(x, *args, **kwargs)#

SymNum implementation of numpy.angle.

symnum.numpy.arccos(x, *args, **kwargs)#

SymNum implementation of numpy.arccos.

symnum.numpy.arccosh(x, *args, **kwargs)#

SymNum implementation of numpy.arccosh.

symnum.numpy.arcsin(x, *args, **kwargs)#

SymNum implementation of numpy.arcsin.

symnum.numpy.arcsinh(x, *args, **kwargs)#

SymNum implementation of numpy.arcsinh.

symnum.numpy.arctan(x, *args, **kwargs)#

SymNum implementation of numpy.arctan.

symnum.numpy.arctan2(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.arctan2.

symnum.numpy.arctanh(x, *args, **kwargs)#

SymNum implementation of numpy.arctanh.

symnum.numpy.array(object_, dtype=None)[source]#

SymNum implementation of numpy.array.

symnum.numpy.ceil(x, *args, **kwargs)#

SymNum implementation of numpy.ceil.

symnum.numpy.concatenate(arrays, axis=0)[source]#

SymNum implementation of numpy.concatenate.

symnum.numpy.conj(x, *args, **kwargs)#

SymNum implementation of numpy.conj.

symnum.numpy.conjugate(x, *args, **kwargs)#

SymNum implementation of numpy.conjugate.

symnum.numpy.cos(x, *args, **kwargs)#

SymNum implementation of numpy.cos.

symnum.numpy.cosh(x, *args, **kwargs)#

SymNum implementation of numpy.cosh.

symnum.numpy.divide(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.divide.

symnum.numpy.exp(x, *args, **kwargs)#

SymNum implementation of numpy.exp.

symnum.numpy.expm1(x, *args, **kwargs)#

SymNum implementation of numpy.expm1.

symnum.numpy.eye(N, M=None, k=0)[source]#

SymNum implementation of numpy.eye.

symnum.numpy.floor(x, *args, **kwargs)#

SymNum implementation of numpy.floor.

symnum.numpy.full(shape, fill_value)[source]#

SymNum implementation of numpy.full.

symnum.numpy.identity(n)[source]#

SymNum implementation of numpy.identity.

symnum.numpy.imag(x, *args, **kwargs)#

SymNum implementation of numpy.imag.

symnum.numpy.iscomplex(x, *args, **kwargs)#

SymNum implementation of numpy.iscomplex.

symnum.numpy.isfinite(x, *args, **kwargs)#

SymNum implementation of numpy.isfinite.

symnum.numpy.isinf(x, *args, **kwargs)#

SymNum implementation of numpy.isinf.

symnum.numpy.isnan(x, *args, **kwargs)#

SymNum implementation of numpy.isnan.

symnum.numpy.isneginf(x, *args, **kwargs)#

SymNum implementation of numpy.isneginf.

symnum.numpy.isposinf(x, *args, **kwargs)#

SymNum implementation of numpy.isposinf.

symnum.numpy.isreal(x, *args, **kwargs)#

SymNum implementation of numpy.isreal.

symnum.numpy.log(x, *args, **kwargs)#

SymNum implementation of numpy.log.

symnum.numpy.log10(x, *args, **kwargs)#

SymNum implementation of numpy.log10.

symnum.numpy.log1p(x, *args, **kwargs)#

SymNum implementation of numpy.log1p.

symnum.numpy.log2(x, *args, **kwargs)#

SymNum implementation of numpy.log2.

symnum.numpy.logical_and(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.logical_and.

symnum.numpy.logical_not(x, *args, **kwargs)#

SymNum implementation of numpy.logical_not.

symnum.numpy.logical_or(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.logical_or.

symnum.numpy.logical_xor(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.logical_xor.

symnum.numpy.matmul(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.matmul.

symnum.numpy.maximum(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.maximum.

symnum.numpy.minimum(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.minimum.

symnum.numpy.multiply(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.multiply.

symnum.numpy.ones(shape)[source]#

SymNum implementation of numpy.ones.

symnum.numpy.power(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.power.

symnum.numpy.prod(a, axis=None)[source]#

SymNum implementation of numpy.prod.

symnum.numpy.real(x, *args, **kwargs)#

SymNum implementation of numpy.real.

symnum.numpy.sign(x, *args, **kwargs)#

SymNum implementation of numpy.sign.

symnum.numpy.sin(x, *args, **kwargs)#

SymNum implementation of numpy.sin.

symnum.numpy.sinh(x, *args, **kwargs)#

SymNum implementation of numpy.sinh.

symnum.numpy.sqrt(x, *args, **kwargs)#

SymNum implementation of numpy.sqrt.

symnum.numpy.subtract(x1, x2, *args, **kwargs)#

SymNum implementation of numpy.subtract.

symnum.numpy.sum(a, axis=None)[source]#

SymNum implementation of numpy.sum.

symnum.numpy.tan(x, *args, **kwargs)#

SymNum implementation of numpy.tan.

symnum.numpy.tanh(x, *args, **kwargs)#

SymNum implementation of numpy.tanh.

symnum.numpy.zeros(shape)[source]#

SymNum implementation of numpy.zeros.