Barycentric Basis.Polynomial Method
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |