Symbolic Math.Try Get Symbolic Or Numerical Derivative Method
Attempts to get an expression for the symbolic derivative of a method, or the numerical derivative if
no symbolic derivative was defined.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
true if the symbolic derivative could be found; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static bool TryGetSymbolicOrNumericalDerivative(
MethodInfo method,
int position,
out LambdaExpression?? expression
)
Parameters
- method MethodInfo
- The method for which the symbolic derivative is being defined.
- position Int32
- The position of the argument with respect to which the derivative is taken.
- expression LambdaExpression
- On return, an expression that evaluates the symbolic derivative of method with respect to its positionth argument.
Return Value
Booleantrue if the symbolic derivative could be found; otherwise false.