BsLeastSquares Constructor (Double, Double, Int32, Int32) |
Constructs a least squares B-spline approximation to the given data
points.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public BsLeastSquares(
double[] xData,
double[] yData,
int nCoef,
int order
)
Public Sub New (
xData As Double(),
yData As Double(),
nCoef As Integer,
order As Integer
)
public:
BsLeastSquares(
array<double>^ xData,
array<double>^ yData,
int nCoef,
int order
)
new :
xData : float[] *
yData : float[] *
nCoef : int *
order : int -> BsLeastSquares
Parameters
- xData
- Type: SystemDouble
A double array containing the x-coordinates of the data.
- yData
- Type: SystemDouble
A double array containing the y-coordinates of the data. The
arrays xData and yData must have the same length.
- nCoef
- Type: SystemInt32
A int denoting the linear dimension of the spline subspace. It
should be smaller than the number of data points and greater than or
equal to the order of the spline.
- order
- Type: SystemInt32
A int denoting the order of the spline.
See Also