| PolynomialLeastSquares(Int32, DoubleVector, DoubleVector, Double) Constructor |
Constructs a PolynomialLeastSquares instances that fits the given data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public PolynomialLeastSquares(
int degree,
DoubleVector x,
DoubleVector y,
double rankTolerance
)
Public Sub New (
degree As Integer,
x As DoubleVector,
y As DoubleVector,
rankTolerance As Double
)
public:
PolynomialLeastSquares(
int degree,
DoubleVector^ x,
DoubleVector^ y,
double rankTolerance
)
new :
degree : int *
x : DoubleVector *
y : DoubleVector *
rankTolerance : float -> PolynomialLeastSquares
Parameters
- degree Int32
- The degree of the desired fitted polynomial.
- x DoubleVector
- The x data.
- y DoubleVector
- The y data.
- rankTolerance Double
- Tolerance used to compute the effective rank of
the design matrix in the least squares calculation.
Exceptions See Also