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)

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 20 of file from_var_value.hpp.