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.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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. |