Click or drag to resize

GoodnessOfFitGetGoodnessOfFitM Method

Constructs a GoodnessOfFit instance from the given OneVariableFunctionFitter.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static GoodnessOfFit GetGoodnessOfFit<M>(
	OneVariableFunctionFitter<M> fitter,
	DoubleVector x,
	DoubleVector y,
	DoubleVector solution
)
where M : new(), INonlinearLeastSqMinimizer

Parameters

fitter  OneVariableFunctionFitterM
A one variable function fitter.
x  DoubleVector
The x data used to fit the model.
y  DoubleVector
The y data used to fit the model.
solution  DoubleVector
The solution found by the fitter.

Type Parameters

M

[Missing <typeparam name="M"/> documentation for "M:CenterSpace.NMath.Core.GoodnessOfFit.GetGoodnessOfFit``1(CenterSpace.NMath.Core.OneVariableFunctionFitter{``0},CenterSpace.NMath.Core.DoubleVector,CenterSpace.NMath.Core.DoubleVector,CenterSpace.NMath.Core.DoubleVector)"]

Return Value

GoodnessOfFit
Exceptions
ExceptionCondition
MismatchedSizeException Thrown if x and y are not the same length.
See Also