Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Function applying the val_adj_functor to extract the values and adjoints of a given var or vari matrix into separate matrices.
EigRev | type of the Eigen container of var or vari. |
EigDbl | type of the Eigen container of doubles to be copied to. |
[in] | VarMat | Input Eigen container of var. |
[in] | ValMat | Output Eigen container of values. |
[in] | AdjMat | Output Eigen container of adjoints. |
Definition at line 158 of file read_var.hpp.