| GoodnessOfFitGetGoodnessOfFitM Method |
Constructs a GoodnessOfFit instance from the given OneVariableFunctionFitter.
Namespace: CenterSpace.NMath.CoreAssembly: 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
Public Shared Function GetGoodnessOfFit(Of M As {New, INonlinearLeastSqMinimizer}) (
fitter As OneVariableFunctionFitter(Of M),
x As DoubleVector,
y As DoubleVector,
solution As DoubleVector
) As GoodnessOfFit
public:
generic<typename M>
where M : gcnew(), INonlinearLeastSqMinimizer
static GoodnessOfFit^ GetGoodnessOfFit(
OneVariableFunctionFitter<M>^ fitter,
DoubleVector^ x,
DoubleVector^ y,
DoubleVector^ solution
)
static member GetGoodnessOfFit :
fitter : OneVariableFunctionFitter<'M> *
x : DoubleVector *
y : DoubleVector *
solution : DoubleVector -> GoodnessOfFit when 'M : new() and 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
GoodnessOfFitExceptions See Also