Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ third_diff()

template<typename F , typename Theta , typename Stream , typename... Args, require_eigen_vector_t< Theta > * = nullptr>
Eigen::VectorXd stan::math::laplace_likelihood::internal::third_diff ( F &&  f,
Theta &&  theta,
Stream &&  msgs,
Args &&...  args 
)
inline

Compute third order derivative of f wrt theta and args...

Note
If Args contains var types then their adjoints will be calculated as a side effect.
Template Parameters
FA functor with opertor()(Args&&...) returning a scalar
ThetaA class assignable to an Eigen vector type
StreamType of stream for messages.
ArgsType of variadic arguments for likelihood function.
Parameters
fLog likelihood function.
thetaLatent Gaussian variable.
msgsStream for messages.
argsVariadic arguments for likelihood function.

Definition at line 175 of file laplace_likelihood.hpp.