Differentiates the given function at the given position.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public double Differentiate(
	OneVariableFunction f,
	double x
)
Visual Basic (Declaration)
Public Function Differentiate ( _
	f As OneVariableFunction, _
	x As Double _
) As Double
Visual C++
public:
virtual double Differentiate(
	OneVariableFunction^ f, 
	double x
) sealed

Parameters

f
Type: CenterSpace.NMath.Core..::.OneVariableFunction
The function to differentiate.
x
Type: System..::.Double
The position along the x-axis at which to differentiate.

Return Value

The slope of the function at the given position.

Implements

IDifferentiator..::.Differentiate(OneVariableFunction, Double)

See Also