Symbolic Math.Get Symbolic Or Numerical Derivative Method
Gets an expression for the symbolic derivative of a method, or the numerical derivative if
no symbolic derivative was defined.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A LambdaExpression that evaluates the symbolic derivative of method with respect to its positionth argument.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static LambdaExpression GetSymbolicOrNumericalDerivative(
MethodInfo method,
int position
)
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.
Return Value
LambdaExpressionA LambdaExpression that evaluates the symbolic derivative of method with respect to its positionth argument.
Exceptions
Argument | position is less than zero or greater than or equal to the number of parameters of method. |
Key | The requested symbolic derivative could not be located. |