Stan Math Library
5.0.0
Automatic Differentiation
|
void stan::math::partial_derivative | ( | const F & | f, |
const Eigen::Matrix< T, Eigen::Dynamic, 1 > & | x, | ||
int | n, | ||
T & | fx, | ||
T & | dfx_dxn | ||
) |
Return the partial derivative of the specified multivariate function at the specified argument.
T | Argument type |
F | Function type |
f | Function | |
[in] | x | Argument vector |
[in] | n | Index of argument with which to take derivative |
[out] | fx | Value of function applied to argument |
[out] | dfx_dxn | Value of partial derivative |
Definition at line 25 of file partial_derivative.hpp.