Barycentric Basis.Polynomial Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Polynomial( | Constructs a new barycentric basis equivalent to Lagrange polynomial interpolation through the specified support points. |
Polynomial( | Returns a new BarycentricBasis equivalent to a basis of Lagrange polynomials over an equidistant set of points. |
Polynomial(Vector<Double>)
Constructs a new barycentric basis equivalent to
Lagrange polynomial interpolation through the specified
support points.
public static BarycentricBasis Polynomial(
Vector<double> supportPoints
)
Parameters
Return Value
BarycentricBasisA barycentric basis.
Polynomial(Double, Double, Int32)
Returns a new BarycentricBasis equivalent
to a basis of Lagrange polynomials over an equidistant
set of points.
public static BarycentricBasis Polynomial(
double lowerBound,
double upperBound,
int length
)
Parameters
- lowerBound Double
- The lower bound of the interval.
- upperBound Double
- The upper bound of the interval.
- length Int32
- The number of points.
Return Value
BarycentricBasisRemarks
If length is one, then the
basis consists of a constant term at the centre of the interval.
Exceptions
Argument | length is less than or equal to zero. |