 | MultiVariableFunctionFitterM(FuncDoubleVector, DoubleVector, Double, ActionDoubleVector, DoubleVector, DoubleVector, Int32) Constructor |
Constructs a MultiVariableFunctionFitter instance for the given parameterized delegate.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic MultiVariableFunctionFitter(
Func<DoubleVector, DoubleVector, double> function,
Action<DoubleVector, DoubleVector, DoubleVector> gradient,
int xDimension
)
Public Sub New (
function As Func(Of DoubleVector, DoubleVector, Double),
gradient As Action(Of DoubleVector, DoubleVector, DoubleVector),
xDimension As Integer
)
public:
MultiVariableFunctionFitter(
Func<DoubleVector^, DoubleVector^, double>^ function,
Action<DoubleVector^, DoubleVector^, DoubleVector^>^ gradient,
int xDimension
)
new :
function : Func<DoubleVector, DoubleVector, float> *
gradient : Action<DoubleVector, DoubleVector, DoubleVector> *
xDimension : int -> MultiVariableFunctionFitter
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