Stan Math Library
4.9.0
Automatic Differentiation
|
void stan::math::derivative | ( | const F & | f, |
const T & | x, | ||
T & | fx, | ||
T & | dfx_dx | ||
) |
Return the derivative of the specified univariate function at the specified argument.
T | Argument type |
F | Function type |
[in] | f | Function |
[in] | x | Argument |
[out] | fx | Value of function applied to argument |
[out] | dfx_dx | Value of derivative |
Definition at line 24 of file derivative.hpp.