Gets the slope of the curve at the specified
X-coordinate.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable Function SlopeAt ( _ x As Double _ ) As Double |
| C# |
|---|
public virtual double SlopeAt ( double x ) |
| C++ |
|---|
public: virtual double SlopeAt ( double x ) |
Parameters
- x (System.Double)
- A real number.
Return Value
The slope of the curve at the specified X-coordinate.
Remarks
This method evaluates the derivative of the curve
at the point x. By default, the derivative
is approximated numerically using the
NumericalDifferentiator class.