CurveBaseCubicSplineHorner1stDerivative Method |
Return the first derivative P'(u) of the piecewise cubic curve evaluated using Horner's scheme.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic double CubicSplineHorner1stDerivative(
double u,
IReadOnlyList<double> x,
IReadOnlyList<double> y,
IReadOnlyList<double> y1,
IReadOnlyList<double> y2,
IReadOnlyList<double> y3
)
Parameters
- u Double
- The abscissa value at which the derivative is to be evaluated.
- x IReadOnlyListDouble
- The vector (lo,hi) of data abscissa (must be strictly increasing).
- y IReadOnlyListDouble
- The vectors (lo,hi) of ordinate (not used for derivative calculation but kept for signature compatibility).
- y1 IReadOnlyListDouble
- Contains the 1st derivative y'(x(i)).
- y2 IReadOnlyListDouble
- Contains the 2nd derivative y''(x(i)).
- y3 IReadOnlyListDouble
- Contains the 3rd derivative y'''(x(i)).
Return Value
DoubleThe value of the first derivative at
u. If
x is empty, returns 0.0.
See Also