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

◆ ll_arg_grad()

template<typename F , typename Theta , typename Stream , typename... Args, require_eigen_vector_vt< std::is_arithmetic, Theta > * = nullptr>
void stan::math::laplace_likelihood::internal::ll_arg_grad ( F &&  f,
Theta &&  theta,
Stream *  msgs,
Args &&...  args 
)
inline

Computes likelihood argument gradient of f

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.
Parameters
fLog likelihood function.
thetaLatent Gaussian model.
msgsStream for messages.
argsVariadic arguments for the likelihood function.

Definition at line 76 of file laplace_likelihood.hpp.