Constructs a ResidualFunction instance.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public ResidualFunction(
	DoubleParameterizedFunctional ftnl,
	DoubleMatrix xValues,
	DoubleVector yValues,
	int numParameters
)
Visual Basic (Declaration)
Public Sub New ( _
	ftnl As DoubleParameterizedFunctional, _
	xValues As DoubleMatrix, _
	yValues As DoubleVector, _
	numParameters As Integer _
)
Visual C++
public:
ResidualFunction(
	DoubleParameterizedFunctional^ ftnl, 
	DoubleMatrix^ xValues, 
	DoubleVector^ yValues, 
	int numParameters
)

Parameters

ftnl
Type: CenterSpace.NMath.Core..::.DoubleParameterizedFunctional
The parameterized functional.
xValues
Type: CenterSpace.NMath.Core..::.DoubleMatrix
x values of the points to fit.
yValues
Type: CenterSpace.NMath.Core..::.DoubleVector
y values of the points to fit.
numParameters
Type: System..::.Int32
The number of parameters in the parameterized functional.

See Also