UncertainMeasurementSampleFitToPolynomial Method |
Fits the data to a polynomial.
Namespace:
Meta.Numerics.Statistics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public UncertainMeasurementFitResult FitToPolynomial(
int order
)
Public Function FitToPolynomial (
order As Integer
) As UncertainMeasurementFitResult
public:
UncertainMeasurementFitResult^ FitToPolynomial(
int order
)
member FitToPolynomial :
order : int -> UncertainMeasurementFitResult
Parameters
- order
- Type: SystemInt32
The order of the polynomial to fit.
Return Value
Type:
UncertainMeasurementFitResultA fit result containing the best-fit polynomial coefficients, in order of ascending power from 0 to
order,
and a χ
2 test of the quality of the fit.
Exceptions See Also