Stan  2.14.0
probability, sampling & optimization
double_literal.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_DOUBLE_LITERAL_HPP
2 #define STAN_LANG_AST_NODE_DOUBLE_LITERAL_HPP
3 
5 
6 namespace stan {
7  namespace lang {
8 
12  struct double_literal {
16  double val_;
17 
22 
27 
33  double_literal(double val); // NOLINT(runtime/explicit)
34 
42  };
43 
44 
45  }
46 }
47 #endif
Node for holding a double literal.
Probability, optimization and sampling library.
Structure of the type of an expression, which consists of a base type and a number of dimensions...
Definition: expr_type.hpp:14
double_literal()
Default constructor for double literal.
double val_
Value of literal.
expr_type type_
Expression type.
double_literal & operator=(const double_literal &dl)
Assign a double literal to this literal and return it.

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