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

◆ read_vi_val()

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

Function applying the vi_val_functor to extract the varis and and values 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]ValMatOutput Eigen container of values.

Definition at line 175 of file read_var.hpp.