BSpline1DcreateApproxBSpline Method |
Creates an approximating B-spline with the requested number of control points.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static BSpline1D createApproxBSpline(
IReadOnlyList<double> x,
IReadOnlyList<double> y,
int degree,
int hp1,
bool createEquallySpacedKnots = false
)
Parameters
- x IReadOnlyListDouble
- The x coordinates of the samples.
- y IReadOnlyListDouble
- The y coordinates of the samples.
- degree Int32
- The spline degree.
- hp1 Int32
- The number of control points h + 1.
- createEquallySpacedKnots Boolean (Optional)
- True to use uniformly spaced knots.
Return Value
BSpline1DA
BSpline1D approximating the samples.
Exceptions
See Also