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 function and an x coordinate
Namespace: Mathos.Calculus
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
public static double FirstDerivative( Func<double, double> function, double xPoint, double h = 1E-14 )
Parameters
- function
- Type: SystemFuncDouble, Double
The function - xPoint
- Type: SystemDouble
The x coordinate - h (Optional)
- Type: SystemDouble
Return Value
Type: DoubleReturns the first derivative
See Also