Click or drag to resize

MultiVariableFunctionFitterM(FuncDoubleVector, DoubleVector, Double, ActionDoubleVector, DoubleVector, DoubleVector, Int32) Constructor

Constructs a MultiVariableFunctionFitter instance for the given parameterized delegate.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public MultiVariableFunctionFitter(
	Func<DoubleVector, DoubleVector, double> function,
	Action<DoubleVector, DoubleVector, DoubleVector> gradient,
	int xDimension
)

Parameters

function  FuncDoubleVector, DoubleVector, Double
Parameterized function delegate. The delegate takes a vector of parameter values as its first argument, and the vector at which to evaluate the function as its second argument, and returns a double.
gradient  ActionDoubleVector, DoubleVector, DoubleVector
Delegate for computing the gradient with respect to parameters of the parameterized function. The first argument is the vector of parameters, the second argument is the vector, of length xDimension, at which the function is evaluated, and the third argument is a vector, allocated to the appropriate size, in which to place the values of the gradient.
xDimension  Int32
Dimension of the domain of the parameterized function.
See Also