CADETProcess.dataStructure.parameter.Polynomial

Contents

CADETProcess.dataStructure.parameter.Polynomial#

class CADETProcess.dataStructure.parameter.Polynomial(*args: Any, **kwargs: Any)[source]#

Bases: NdPolynomial

Represent a single polynomial using coefficients.

This class serves as a simplified version of NdPolynomial, specifically tailored for single polynomials. It is always defined by its coefficients, removing the need for an ‘n_entries’ parameter.

Use this class when only a single polynomial representation is required.

Attributes:
sizetuple

Size of the coefficients for the polynomial. Derived from NdPolynomial but omits ‘n_entries’.