DifferentialCalculusFirstDerivative Method (FuncDouble, Double, Double, Double)Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
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: Double
Returns the first derivative
See Also

Reference