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

Structure for an indexed expression. More...

#include <index_op.hpp>

Public Member Functions

 index_op ()
 Construct a default indexed expression. More...
 
 index_op (const expression &expr, const std::vector< std::vector< expression > > &dimss)
 Construct an indexed expression with the specified expression and indices. More...
 
void infer_type ()
 

Public Attributes

expression expr_
 Expression being indexed. More...
 
std::vector< std::vector< expression > > dimss_
 Sequence of sequences of indexes. More...
 
expr_type type_
 Type of indexed expression. More...
 

Detailed Description

Structure for an indexed expression.

Definition at line 14 of file index_op.hpp.

Constructor & Destructor Documentation

§ index_op() [1/2]

stan::lang::index_op::index_op ( )

Construct a default indexed expression.

Definition at line 10 of file index_op_def.hpp.

§ index_op() [2/2]

stan::lang::index_op::index_op ( const expression expr,
const std::vector< std::vector< expression > > &  dimss 
)

Construct an indexed expression with the specified expression and indices.

Parameters
exprexpression being indexed
dimsssequence of sequences of expressions

Definition at line 12 of file index_op_def.hpp.

Member Function Documentation

§ infer_type()

void stan::lang::index_op::infer_type ( )

Definition at line 18 of file index_op_def.hpp.

Member Data Documentation

§ dimss_

std::vector<std::vector<expression> > stan::lang::index_op::dimss_

Sequence of sequences of indexes.

Definition at line 23 of file index_op.hpp.

§ expr_

expression stan::lang::index_op::expr_

Expression being indexed.

Definition at line 18 of file index_op.hpp.

§ type_

expr_type stan::lang::index_op::type_

Type of indexed expression.

Definition at line 28 of file index_op.hpp.


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

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