SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
MathFunctionWithFirstDerivative Interface Reference

Represents a mathematical function whose derivative can be computed using derivative(double). More...

Inheritance diagram for MathFunctionWithFirstDerivative:
[legend]
Collaboration diagram for MathFunctionWithFirstDerivative:
[legend]

Public Member Functions

double derivative (double x)
 Computes (or estimates) the first derivative of the function at point x. More...
 
- Public Member Functions inherited from MathFunction
double evaluate (double x)
 Returns the value of the function evaluated at \(x\). More...
 

Detailed Description

Represents a mathematical function whose derivative can be computed using derivative(double).

Member Function Documentation

◆ derivative()

double derivative ( double  x)

Computes (or estimates) the first derivative of the function at point x.

Parameters
xthe point to evaluate the derivative to.
Returns
the value of the derivative.

Implemented in BSpline, SmoothingCubicSpline, Polynomial, PowerMathFunction, SquareMathFunction, AverageMathFunction, ShiftedMathFunction, and IdentityMathFunction.


The documentation for this interface was generated from the following file: