Stan  2.10.0
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::model::index_multi Struct Reference

Structure for an indexing consisting of multiple indexes. More...

#include <index.hpp>

Public Member Functions

 index_multi (const std::vector< int > &ns)
 Construct a multiple indexing from the specified indexes. More...
 

Public Attributes

std::vector< int > ns_
 

Detailed Description

Structure for an indexing consisting of multiple indexes.

The indexes do not need to be unique or in order.

Definition at line 39 of file index.hpp.

Constructor & Destructor Documentation

stan::model::index_multi::index_multi ( const std::vector< int > &  ns)
inlineexplicit

Construct a multiple indexing from the specified indexes.

Parameters
nsmultiple indexes.

Definition at line 47 of file index.hpp.

Member Data Documentation

std::vector<int> stan::model::index_multi::ns_

Definition at line 40 of file index.hpp.


The documentation for this struct was generated from the following file:

     [ Stan Home Page ] © 2011–2016, Stan Development Team.