![]() |
Stan
2.14.0
probability, sampling & optimization
|
#include <int_literal.hpp>
Public Member Functions | |
int_literal () | |
Construct a default int literal. More... | |
int_literal (int val) | |
Construct an int literal with the specified value. More... | |
int_literal (const int_literal &il) | |
Copy constructor. More... | |
int_literal & | operator= (const int_literal &il) |
Assignment for int literals. More... | |
Public Attributes | |
int | val_ |
Value of literal. More... | |
expr_type | type_ |
Expression type of literal. More... | |
Definition at line 9 of file int_literal.hpp.
stan::lang::int_literal::int_literal | ( | ) |
Construct a default int literal.
Definition at line 11 of file int_literal_def.hpp.
stan::lang::int_literal::int_literal | ( | int | val | ) |
Construct an int literal with the specified value.
val | value of literal |
Definition at line 13 of file int_literal_def.hpp.
stan::lang::int_literal::int_literal | ( | const int_literal & | il | ) |
int_literal & stan::lang::int_literal::operator= | ( | const int_literal & | il | ) |
Assignment for int literals.
il | new value |
Definition at line 18 of file int_literal_def.hpp.
expr_type stan::lang::int_literal::type_ |
Expression type of literal.
Definition at line 18 of file int_literal.hpp.
int stan::lang::int_literal::val_ |
Value of literal.
Definition at line 13 of file int_literal.hpp.