Click or drag to resize

OneVariableFunctionFitterMCurveFitResidualFunction(DoubleParameterizedFunction, DoubleVector, DoubleVector, DoubleVector, Int32) Constructor

Constructs a CurveFitResidualFunction instance for the given parameterized function and x-y values.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public CurveFitResidualFunction(
	DoubleParameterizedFunction ftn,
	DoubleVector xValues,
	DoubleVector yValues,
	DoubleVector weights,
	int numParameters
)

Parameters

ftn  DoubleParameterizedFunction
The parameterized function.
xValues  DoubleVector
Observed x-values.
yValues  DoubleVector
Observed y-values.
weights  DoubleVector
Weights applied to the y values.
numParameters  Int32
The nunmber of parameters in the parameterized function.
See Also