| NumericalDifferentiationGradientTFunctionParameter Method (FuncDoubleMatrix, TFunctionParameter, Double, DoubleMatrix, TFunctionParameter) |
Returns the gradient of the specified parametric function
at the given argument.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public static DoubleMatrix Gradient<TFunctionParameter>(
Func<DoubleMatrix, TFunctionParameter, double> function,
DoubleMatrix argument,
TFunctionParameter parameter
)
Public Shared Function Gradient(Of TFunctionParameter) (
function As Func(Of DoubleMatrix, TFunctionParameter, Double),
argument As DoubleMatrix,
parameter As TFunctionParameter
) As DoubleMatrix
public:
generic<typename TFunctionParameter>
static DoubleMatrix^ Gradient(
Func<DoubleMatrix^, TFunctionParameter, double>^ function,
DoubleMatrix^ argument,
TFunctionParameter parameter
)
static member Gradient :
function : Func<DoubleMatrix, 'TFunctionParameter, float> *
argument : DoubleMatrix *
parameter : 'TFunctionParameter -> DoubleMatrix
Parameters
- function
- Type: SystemFuncDoubleMatrix, TFunctionParameter, Double
The function to be differentiated.
- argument
- Type: Novacta.AnalyticsDoubleMatrix
The argument at which the gradient must be evaluated.
- parameter
- Type: TFunctionParameter
The function parameter.
Type Parameters
- TFunctionParameter
-
The type of the function parameter.
Return Value
Type:
DoubleMatrix
The gradient of the specified function evaluated
at the given argument and parameter.
Exceptions See Also