Barycentric Basis Constructor
Constructs a new barycentric basis with the specified
set of support points and corresponding weights.
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
public BarycentricBasis(
Vector<double> supportPoints,
Vector<double> weights
)Parameters
Exceptions
| Argument | supportPoints is null. -or- weights is null. |
| Dimension | The length of weights does not equal the length of supportPoints. |
| Argument | The elements of supportPoints are not in ascending order. -or- The length of supportPoints and weights is zero. |