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

Structure for an indexing consisting of a single index. More...

#include <index.hpp>

Public Member Functions

 index_uni (int n)
 Construct a single indexing from the specified index. More...
 

Public Attributes

int n_
 

Detailed Description

Structure for an indexing consisting of a single index.

Applying this index reduces the dimensionality of the container to which it is applied by one.

Definition at line 17 of file index.hpp.

Constructor & Destructor Documentation

stan::model::index_uni::index_uni ( int  n)
inlineexplicit

Construct a single indexing from the specified index.

Parameters
nsingle index.

Definition at line 25 of file index.hpp.

Member Data Documentation

int stan::model::index_uni::n_

Definition at line 18 of file index.hpp.


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

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