Barycentric Series Constructor
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Overload List
| Barycentric | Constructs a new barycentric series. |
| Barycentric | Constructs a BarycentricSeries from arrays of support points, barycentric weights, and function values. |
BarycentricSeries(BarycentricBasis, Vector<Double>)
Constructs a new barycentric series.
public BarycentricSeries(
BarycentricBasis basis,
Vector<double> coefficients
)Parameters
- basis BarycentricBasis
- The basis that defines the support points and weights of the barycentric curve.
- coefficients Vector<Double>
- A vector containing the values of the curve at the support points.
Exceptions
| Argument | basis is null. -or- coefficients is null. |
| Dimension | The length of coefficients does not equal the size of the basis. |
BarycentricSeries(Double[], Double[], Double[])
Constructs a BarycentricSeries from arrays of support points, barycentric weights, and function values.
public BarycentricSeries(
double[] xValues,
double[] weights,
double[] fValues
)Parameters
Exceptions
| Argument | Any argument is null. |
| Dimension | The lengths of the arrays do not match. |