This documentation is compiled for the latest release of Mathos Core Library
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Returns the first derivative
Calculates the first derivative given a multivariable function and a specific set of variables (input parameters).
Namespace: Mathos.Calculus
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
public static decimal FirstDerivative( Func<decimal[], decimal> function, int withRespectTo, params decimal[] points )
Parameters
- function
- Type: SystemFuncDecimal, Decimal
The function - withRespectTo
- Type: SystemInt32
The index of the point in "points" variable that the derivative should be differenetiated with resepect to. - points
- Type: SystemDecimal
The input parameters of the multivariable function.
Return Value
Type: DecimalReturns the first derivative
See Also