1 #ifndef STAN_MODEL_INDEXING_RVALUE_RETURN_HPP
2 #define STAN_MODEL_INDEXING_RVALUE_RETURN_HPP
25 template <
typename C,
typename L>
56 template <
typename T,
typename I,
int R,
int C>
62 typedef Eigen::Matrix<T, R, C>
type;
77 typedef Eigen::Matrix<T, 1, Eigen::Dynamic>
type;
101 template <
typename T>
118 template <
typename T,
typename I1,
typename I2>
122 nil_index_list> > > {
126 typedef Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>
type;
136 template <
typename T,
typename I>
139 cons_index_list<index_uni,
140 nil_index_list> > > {
144 typedef Eigen::Matrix<T, Eigen::Dynamic, 1>
type;
154 template <
typename T,
typename I>
158 nil_index_list> > > {
162 typedef Eigen::Matrix<T, 1, Eigen::Dynamic>
type;
171 template <
typename T>
174 cons_index_list<index_uni,
175 nil_index_list> > > {
191 template <
typename C,
typename I,
typename L>
198 typedef std::vector<typename rvalue_return<C, L>::type>
type;
210 template <
typename C,
typename L>
Primary template class for metaprogram to calculate return value for model::rvalue() for the containe...
C type
Return type is the container or scalar type.
Probability, optimization and sampling library.
Eigen::Matrix< T, 1, Eigen::Dynamic > type
Return type is row vector.
Template specification of functions in std for Stan.
Eigen::Matrix< T, Eigen::Dynamic, 1 > type
Return type is vector with same scalar type as matrix container.
T type
Return type is scalar type of vector.
T type
Return type is scalar type of row vector.
rvalue_return< C, L >::type type
Return type is calculated recursively as the rvalue return for the element type C and following index...
T type
Return type is scalar type of matrix.
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > type
Return type is matrix container type.
Template structure for an index list consisting of a head and tail index.
std::vector< typename rvalue_return< C, L >::type > type
Return type is calculated recursively as a standard vector of the rvalue return for the element type ...
Structure for an empty (size zero) index list.
Eigen::Matrix< T, R, C > type
Return type is the matrix container type.
Eigen::Matrix< T, 1, Eigen::Dynamic > type
Return type is row vector with same scalar type as matrix container.