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

◆ read_vi_adj()

template<typename EigVar , typename EigVari , typename EigDbl >
void stan::math::read_vi_adj ( const EigVar &  VarMat,
EigVari &  VariMat,
EigDbl &  AdjMat 
)
inline

Function applying the vi_adj_functor to extract the varis and and adjoints of a given var matrix into separate matrices.

Template Parameters
EigVartype of the Eigen container of var.
EigDbltype of the Eigen container of doubles to be copied to.
Parameters
[in]VarMatInput Eigen container of var.
[in]VariMatOutput Eigen container of vari.
[in]AdjMatOutput Eigen container of adjoints.

Definition at line 193 of file read_var.hpp.