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

#include <ast.hpp>

Public Types

typedef std::pair< base_var_decl, var_originrange_t
 

Public Member Functions

bool exists (const std::string &name) const
 
base_var_decl get (const std::string &name) const
 
base_expr_type get_base_type (const std::string &name) const
 
size_t get_num_dims (const std::string &name) const
 
var_origin get_origin (const std::string &name) const
 
void add (const std::string &name, const base_var_decl &base_decl, const var_origin &vo)
 
void remove (const std::string &name)
 

Public Attributes

std::map< std::string, range_tmap_
 

Detailed Description

Definition at line 573 of file ast.hpp.

Member Typedef Documentation

Definition at line 574 of file ast.hpp.

Member Function Documentation

void stan::lang::variable_map::add ( const std::string &  name,
const base_var_decl base_decl,
const var_origin vo 
)

Definition at line 1287 of file ast_def.cpp.

bool stan::lang::variable_map::exists ( const std::string &  name) const

Definition at line 1268 of file ast_def.cpp.

base_var_decl stan::lang::variable_map::get ( const std::string &  name) const

Definition at line 1271 of file ast_def.cpp.

base_expr_type stan::lang::variable_map::get_base_type ( const std::string &  name) const

Definition at line 1276 of file ast_def.cpp.

size_t stan::lang::variable_map::get_num_dims ( const std::string &  name) const

Definition at line 1279 of file ast_def.cpp.

var_origin stan::lang::variable_map::get_origin ( const std::string &  name) const

Definition at line 1282 of file ast_def.cpp.

void stan::lang::variable_map::remove ( const std::string &  name)

Definition at line 1292 of file ast_def.cpp.

Member Data Documentation

std::map<std::string, range_t> stan::lang::variable_map::map_

Definition at line 586 of file ast.hpp.


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

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