Baseclass

Baseclass

ndpoly(exponents, …)

Polynomial as numpy array.

ndpoly.coefficients

Polynomial coefficients.

ndpoly.dtype

Datatype of the polynomial coefficients.

ndpoly.exponents

Polynomial exponents.

ndpoly.indeterminants

Polynomial indeterminants.

ndpoly.keys

The raw names of the coefficients.

ndpoly.names

Same as indeterminants, but only the names as string.

ndpoly.values

Expose the underlying structured array.

ndpoly.KEY_OFFSET

Internal number off-set between exponent and its stored value.

ndpoly.isconstant()

Check if a polynomial is constant or not.

isconstant(poly)

Check if a polynomial is constant or not.

ndpoly.todict()

Cast to dict where keys are exponents and values are coefficients.

ndpoly.tonumpy()

Cast polynomial to numpy.ndarray, if possible.

call(poly[, args, kwargs])

Evaluate polynomial by inserting new values in to the indeterminants.

Exceptions

FeatureNotSupported

Error for features in numpy not supported in Numpoly.

Type annotation

PolyLike

The central part of internal API.

Global options

global_options(**kwargs)

Temporarily set global numpoly options.

get_options([defaults])

Get global numpoly options.

set_options(**kwargs)

Set global numpoly options.