Stan  2.14.0
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::lang::uni_idx Struct Reference

AST structure to hold a single array or matrix/vector index. More...

#include <uni_idx.hpp>

Public Member Functions

 uni_idx ()
 Construct a default unary index. More...
 
 uni_idx (const expression &idx)
 Construct a unary index with the specified value. More...
 

Public Attributes

expression idx_
 Index. More...
 

Detailed Description

AST structure to hold a single array or matrix/vector index.

Definition at line 12 of file uni_idx.hpp.

Constructor & Destructor Documentation

§ uni_idx() [1/2]

stan::lang::uni_idx::uni_idx ( )

Construct a default unary index.

Definition at line 9 of file uni_idx_def.hpp.

§ uni_idx() [2/2]

stan::lang::uni_idx::uni_idx ( const expression idx)

Construct a unary index with the specified value.

Parameters
idxindex

Definition at line 11 of file uni_idx_def.hpp.

Member Data Documentation

§ idx_

expression stan::lang::uni_idx::idx_

Index.

Definition at line 16 of file uni_idx.hpp.


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

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