Constructs a smoothing spline for a set of points with specified
smoothing parameter.
Namespace: Extreme.Mathematics.CurvesAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static CubicSpline CreateSmooth(
IList<Point> dataPoints,
double smoothingParameter
)
Public Shared Function CreateSmooth (
dataPoints As IList(Of Point),
smoothingParameter As Double
) As CubicSpline
public:
static CubicSpline^ CreateSmooth(
IList<Point>^ dataPoints,
double smoothingParameter
)
static member CreateSmooth :
dataPoints : IList<Point> *
smoothingParameter : float -> CubicSpline
Parameters
- dataPoints
- Type: System.Collections.GenericIListPoint
An list of Point values containing the data points. - smoothingParameter
- Type: SystemDouble
The smoothing parameter, with values between
0 (least squares horizontal line) and 1 (natural interpolating spline).
Return Value
Type:
CubicSpline
This constructor constructs a smoothing spline which in general does not
interpolate the data points but is more smooth.
Numerical Libraries
Supported in: 6.0, 5.x
Reference