Multivariate Polynomial Basis.Create Total Degree Method
Creates a total-degree polynomial basis for the specified dimension and maximum degree.
Definition
Namespace: Numerics.NET.Curves.Surfaces
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
A MultivariatePolynomialBasis representing all monomials with total degree ≤ maxDegree.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
public static MultivariatePolynomialBasis CreateTotalDegree(
int dimension,
int maxDegree
)Parameters
- dimension Int32
- The dimension of the input space. Must be positive.
- maxDegree Int32
- The maximum total degree of monomials. Must be non-negative.
Return Value
MultivariatePolynomialBasisA MultivariatePolynomialBasis representing all monomials with total degree ≤ maxDegree.
Remarks
The basis monomials are enumerated in canonical order: first by total degree (0, 1, 2, ..., maxDegree), then lexicographically within each degree.
Exceptions
| Argument | dimension is not positive, or maxDegree is negative. |