| DoubleParameterizedDelegate(FuncDoubleVector, Double, Double, ActionDoubleVector, Double, DoubleVector) Constructor |
Constructs a DoubleParameterizedDelegate instance from the given
delegates.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleParameterizedDelegate(
Func<DoubleVector, double, double> f,
Action<DoubleVector, double, DoubleVector> gradient
)
Public Sub New (
f As Func(Of DoubleVector, Double, Double),
gradient As Action(Of DoubleVector, Double, DoubleVector)
)
public:
DoubleParameterizedDelegate(
Func<DoubleVector^, double, double>^ f,
Action<DoubleVector^, double, DoubleVector^>^ gradient
)
new :
f : Func<DoubleVector, float, float> *
gradient : Action<DoubleVector, float, DoubleVector> -> DoubleParameterizedDelegate
Parameters
- f FuncDoubleVector, Double, Double
- The constructed instance will use the delegate f to
implement the Evaluate method inherited from DoubleParameterizedFunction
- gradient ActionDoubleVector, Double, DoubleVector
- The constructed instance will use the delegate gradient to
implement the GradientWithRespectToParams method inherited from DoubleParameterizedFunction
See Also