Stan  2.10.0
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::lang::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 357 of file ast.hpp.

Constructor & Destructor Documentation

stan::lang::variable::variable ( )

Definition at line 1014 of file ast_def.cpp.

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

Definition at line 1015 of file ast_def.cpp.

Member Function Documentation

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

Definition at line 1016 of file ast_def.cpp.

Member Data Documentation

std::string stan::lang::variable::name_

Definition at line 358 of file ast.hpp.

expr_type stan::lang::variable::type_

Definition at line 359 of file ast.hpp.


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

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