![]() |
Stan
2.14.0
probability, sampling & optimization
|
Node for holding a double literal. More...
#include <double_literal.hpp>
Public Member Functions | |
| double_literal () | |
| Default constructor for double literal. More... | |
| double_literal (double val) | |
| Construct a double literal with the specified value. More... | |
| double_literal & | operator= (const double_literal &dl) |
| Assign a double literal to this literal and return it. More... | |
Public Attributes | |
| double | val_ |
| Value of literal. More... | |
| expr_type | type_ |
| Expression type. More... | |
Node for holding a double literal.
Definition at line 12 of file double_literal.hpp.
| stan::lang::double_literal::double_literal | ( | ) |
Default constructor for double literal.
Definition at line 9 of file double_literal_def.hpp.
| stan::lang::double_literal::double_literal | ( | double | val | ) |
Construct a double literal with the specified value.
| val | value of literal |
Definition at line 11 of file double_literal_def.hpp.
| double_literal & stan::lang::double_literal::operator= | ( | const double_literal & | dl | ) |
Assign a double literal to this literal and return it.
| dl | new value literal |
Definition at line 14 of file double_literal_def.hpp.
| expr_type stan::lang::double_literal::type_ |
Expression type.
Definition at line 21 of file double_literal.hpp.
| double stan::lang::double_literal::val_ |
Value of literal.
Definition at line 16 of file double_literal.hpp.