Stan  1.0
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::gm::variable Struct Reference

#include <ast.hpp>

Public Member Functions

 variable ()
 
 variable (std::string name)
 
void set_type (const base_expr_type &base_type, size_t num_dims)
 

Public Attributes

std::string name_
 
expr_type type_
 

Detailed Description

Definition at line 288 of file ast.hpp.

Constructor & Destructor Documentation

◆ variable() [1/2]

stan::gm::variable::variable ( )

Definition at line 451 of file ast_def.cpp.

◆ variable() [2/2]

stan::gm::variable::variable ( std::string  name)

Definition at line 452 of file ast_def.cpp.

Member Function Documentation

◆ set_type()

void stan::gm::variable::set_type ( const base_expr_type base_type,
size_t  num_dims 
)

Definition at line 453 of file ast_def.cpp.

Member Data Documentation

◆ name_

std::string stan::gm::variable::name_

Definition at line 289 of file ast.hpp.

◆ type_

expr_type stan::gm::variable::type_

Definition at line 290 of file ast.hpp.


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

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