SymbolicMath.GetSymbolicDerivative Method

Gets an expression for the symbolic derivative of a method.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static LambdaExpression GetSymbolicDerivative(
	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

LambdaExpression
A LambdaExpression that evaluates the symbolic derivative of method with respect to its positionth argument.

Exceptions

ArgumentOutOfRangeException

position is less than zero or greater than or equal to the number of parameters of method.

KeyNotFoundException

The requested symbolic derivative could not be located.

See Also