Stan  2.13.1
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 364 of file ast.hpp.

Constructor & Destructor Documentation

§ variable() [1/2]

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

Definition at line 1067 of file ast_def.cpp.

§ variable() [2/2]

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

Definition at line 1068 of file ast_def.cpp.

Member Function Documentation

§ set_type()

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

Definition at line 1069 of file ast_def.cpp.

Member Data Documentation

§ name_

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

Definition at line 365 of file ast.hpp.

§ type_

expr_type stan::lang::variable::type_

Definition at line 366 of file ast.hpp.


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

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