1 #ifndef STAN_MODEL_INDEXING_INDEX_HPP
2 #define STAN_MODEL_INDEXING_INDEX_HPP
47 explicit index_multi(
const std::vector<int>& ns) : ns_(ns) { }
index_min(int min)
Construct an indexing from the specified minimum index (inclusive).
index_max(int max)
Construct an indexing from the start of the container up to the specified maximum index (inclusive)...
Probability, optimization and sampling library.
Structure for an indexing consisting of multiple indexes.
Structure for an indexing from a minimum index (inclusive) to a maximum index (inclusive).
index_uni(int n)
Construct a single indexing from the specified index.
Structure for an indexing from a minimum index (inclusive) to the end of a container.
Structure for an indexing that consists of all indexes for a container.
Structure for an indexing from the start of a container to a specified maximum index (inclusive)...
Structure for an indexing consisting of a single index.
index_min_max(int min, int max)
Construct an indexing from the specified minimum index (inclusive) and maximum index (inclusive)...
index_multi(const std::vector< int > &ns)
Construct a multiple indexing from the specified indexes.