Barycentric Basis Constructor
Constructs a new barycentric basis with the specified
set of support points and corresponding weights.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |