Click or drag to resize
UncertainMeasurementSampleTFitToLinearFunction Method
Fits the data to a linear combination of fit functions.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public FitResult FitToLinearFunction(
	Func<T, double>[] functions
)

Parameters

functions
Type: SystemFuncT, Double
The component functions.

Return Value

Type: FitResult
A fit result containing the best-fit coefficients of the component functions and a χ2 test of the quality of the fit.
Exceptions
ExceptionCondition
ArgumentNullExceptionfunctions is null.
InsufficientDataExceptionThere are fewer data points than fit parameters.
See Also