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

◆ read_vi_val_adj()

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

Function applying the vi_val_adj_functor to extract the vari*, values, and adjoints of a given var matrix into separate matrices.

Template Parameters
EigVartype of the Eigen container of var.
EigVaritype of the Eigen container of vari to be copied to.
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]ValMatOutput Eigen container of values.
[in]AdjMatOutput Eigen container of tangents.

Definition at line 139 of file read_var.hpp.