coeff#

PolynomialFunction.coeff#

A sparse tensor holding coefficients of a polynomial.

Example, polynomial with maximum order=2:

A_ij = coeff,

and the polynomial function is:

f(x) = A_ij x_i x_j

Example, a polynomial with maximum order=3:

A_ijk = coeff,

and the polynomial function is:

f(x) = A_ijk x_i x_j x_k

Operations (*, +=, -=, etc.) can be expected to also make coeff canonical and prune the coefficients that are approximately zero.

Type:

sparse.COO