![]() |
Stan Math Library
5.0.0
Automatic Differentiation
|
Determines return type of calling .eval() on Eigen expression.
If input type T
is a plain type (plain_type_t<T>
equals std::decay<T>
), than member type
is defined as const plain_type_t<T>&
. Otherwise member type
is defined as plain_type_t<T>
.
T | type to determine eval return type of |
Definition at line 35 of file plain_type.hpp.
#include <plain_type.hpp>
Public Types | |
using | T1 = plain_type_t< T > |
using | type = std::conditional_t< std::is_same< std::decay_t< T >, T1 >::value, const T1 &, T1 > |