Public Member Functions | Public Attributes | List of all members
stan::model::index_uni Struct Reference

#include "stan/model/indexing/index.hpp"

Public Member Functions

 index_uni (int n)

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)

Construct a single indexing from the specified index.

nsingle index.

Definition at line 25 of file index.hpp.

26  : n_(n) {
27  }

Member Data Documentation

int stan::model::index_uni::n_

Definition at line 18 of file index.hpp.

Referenced by stan::model::assign(), stan::model::rvalue(), and TEST().

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