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

◆ read_fvar()

template<typename EigFvar , typename EigOut >
void stan::math::read_fvar ( const EigFvar &  FvarMat,
EigOut &  ValMat,
EigOut &  DMat 
)
inline

Function applying the read_fvar_functor to extract the values and tangets of a given fvar matrix into separate matrices.

Template Parameters
EigFvartype of the Eigen container of fvar.
EigOuttype of the Eigen containers to copy to
Parameters
[in]FvarMatInput Eigen container of fvar.
[in]ValMatOutput Eigen container of values.
[in]DMatOutput Eigen container of tangents.

Definition at line 44 of file read_fvar.hpp.