Multivariate Polynomial Basis Class
Represents a multivariate polynomial basis consisting of all monomials
up to a specified maximum total degree.
Definition
Namespace: Numerics.NET.Curves.Surfaces
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
public sealed class MultivariatePolynomialBasis- Inheritance
- Object → MultivariatePolynomialBasis
Remarks
This class represents a polynomial basis for functions on ℝᵈ, where the basis consists of all monomials x^α = x₁^α₁ · x₂^α₂ · ... · xₐ^αₐ with total degree |α| = α₁ + α₂ + ... + αₐ ≤ MaxDegree.
The monomials are enumerated in a canonical order:
- First, by total degree: 0, 1, 2, ..., MaxDegree
- Within each degree, lexicographically by multi-index
1 (degree 0)
x, y, z (degree 1)
x², xy, xz, y², yz, z² (degree 2)This basis is used for polynomial augmentation in radial basis function interpolation with conditionally positive definite (CPD) kernels, where a polynomial tail is required to ensure well-posedness and exact reproduction of low-degree polynomials.
Properties
| Basis | Gets the number of basis functions. |
| Dimension | Gets the dimension of the input space. |
| Max | Gets the maximum total degree of the monomials in the basis. |
Methods
| Create | Creates a total-degree polynomial basis for the specified dimension and maximum degree. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Evaluate | Evaluates all basis functions at multiple points. |
| Evaluate | Evaluates all basis functions at the specified point. |
| Evaluate | Evaluates all basis functions at multiple points stored in column-major layout. |
| Evaluate | Evaluates all basis functions at the specified point. |
| Evaluate | Computes the gradient of all basis functions at the specified point. |
| Evaluate | Computes the gradient of all basis functions at the specified point. |
| Get | Serves as the default hash function. (Inherited from Object) |
| Get | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |