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

◆ from_var_value() [1/3]

template<typename T , require_var_matrix_t< T > * = nullptr>
Eigen::Matrix< var, T::RowsAtCompileTime, T::ColsAtCompileTime > stan::math::from_var_value ( const T &  a)
inline

Converts var_value into an Eigen Matrix.

Adjoint is propagated back to argument in the reverse pass.

Template Parameters
Ttype of the input
Parameters
amatrix to convert

Definition at line 21 of file from_var_value.hpp.