molsym.salcs.polynomial_functions

Functions

monomial_exponents(degree)

Generate exponent tuples for homogeneous Cartesian monomials of fixed total degree.

multinomial_terms_for_power(linear_coeffs, power)

Expand a linear polynomial raised to an integer power using the multinomial theorem.

multiply_poly_dicts(p1, p2)

Multiply two multivariate polynomial dictionaries.

polynomial_transformation_matrix(A, basis)

Construct the matrix representation of a linear coordinate transformation on a homogeneous Cartesian polynomial basis.

transform_monomial(exp, A)

Transform one Cartesian monomial under a coordinate transformation.

Classes

PolynomialFunctions(symtext[, degree])

FunctionSet for homogeneous Cartesian polynomial monomials. Basis functions are exponent tuples: (a, b, c) -> x^a y^b z^c.