1 #ifndef STAN_MODEL_INDEXING_INDEX_LIST_HPP
2 #define STAN_MODEL_INDEXING_INDEX_LIST_HPP
22 template <
typename H,
typename T>
41 template <
typename I,
typename T>
42 inline cons_index_list<I, T>
53 inline cons_index_list<I, nil_index_list>
58 template <
typename I1,
typename I2>
59 inline cons_index_list<I1, cons_index_list<I2, nil_index_list> >
64 template <
typename I1,
typename I2,
typename I3>
70 index_list(
const I1& idx1,
const I2& idx2,
const I3& idx3) {
Probability, optimization and sampling library.
cons_index_list(const H &head, const T &tail)
Construct a non-empty index list with the specified index for a head and specified index list for a t...
nil_index_list index_list()
cons_index_list< I, T > cons_list(const I &idx1, const T &t)
Template structure for an index list consisting of a head and tail index.
Structure for an empty (size zero) index list.