Constructor

Variable

variable([dimensions, asarray, dtype, ...])

Construct variables that can be used to construct polynomials.

polynomial([poly_like, names, dtype, allocation])

Attempt to cast an object into a polynomial array.

aspolynomial(poly_like[, names, dtype])

Convert the input to an polynomial array.

symbols([names, asarray, dtype, allocation])

Construct symbol variables.

polynomial_from_attributes(exponents, ...[, ...])

Construct polynomial from polynomial attributes.

ndpoly.from_attributes(exponents, coefficients)

Construct polynomial from polynomial attributes.

polynomial_from_roots(seq_of_zeros[, dtype])

Find the coefficients of a polynomial with the given sequence of roots.

Expansion

monomial(start[, stop, dimensions, ...])

Create an polynomial monomial expansion.

expansion.lagrange(abscissas[, graded, ...])

Create Lagrange polynomial expansion.

Orthogonal

expansion.stieltjes(order, dist[, normed, ...])

Create orthogonal polynomial expansion from three terms recurrence formula.

expansion.cholesky(order, dist[, normed, ...])

Create orthogonal polynomial expansion from Cholesky decomposition.

expansion.gram_schmidt(order, dist[, ...])

Gram-Schmidt process for generating orthogonal polynomials.

Pre-defined orthogonal

expansion.chebyshev_1(order[, lower, upper, ...])

Chebyshev polynomials of the first kind.

expansion.chebyshev_2(order[, lower, upper, ...])

Chebyshev polynomials of the second kind.

expansion.gegenbauer(order, alpha[, lower, ...])

Gegenbauer polynomials.

expansion.hermite(order[, mu, sigma, ...])

Hermite orthogonal polynomial expansion.

expansion.jacobi(order, alpha, beta[, ...])

Jacobi polynomial expansion.

expansion.laguerre(order[, alpha, ...])

Examples:

expansion.legendre(order[, lower, upper, ...])

Examples: