![]() |
Stan
2.14.0
probability, sampling & optimization
|
An integer variable declaration and optional definition. More...
#include <double_var_decl.hpp>
Public Member Functions | |
double_var_decl () | |
Construct a real variable declaration with default values. More... | |
double_var_decl (const range &range, const std::string &name, const std::vector< expression > &dims, const expression &def) | |
Construct a real variable declaration with the specified range constraint, name, dimensions, and definition. More... | |
![]() | |
base_var_decl () | |
Construct a default base variable declaration. More... | |
base_var_decl (const base_expr_type &base_type) | |
Construct a base variable declaration of the specified type. More... | |
base_var_decl (const std::string &name, const std::vector< expression > &dims, const base_expr_type &base_type) | |
Construct a base variable declaration with the specified name, dimensions, and base type. More... | |
base_var_decl (const std::string &name, const std::vector< expression > &dims, const base_expr_type &base_type, const expression &def) | |
Construct a base variable declaration with the specified name, dimensions, base type, and definition. More... | |
Public Attributes | |
range | range_ |
Range constraint on values with optional lower and upper bounds. More... | |
![]() | |
std::string | name_ |
Name of the variable. More... | |
std::vector< expression > | dims_ |
Dimension sizes for variable. More... | |
base_expr_type | base_type_ |
Base type for variable. More... | |
expression | def_ |
Definition for variable (nil if undefined). More... | |
An integer variable declaration and optional definition.
Definition at line 16 of file double_var_decl.hpp.
stan::lang::double_var_decl::double_var_decl | ( | ) |
Construct a real variable declaration with default values.
Definition at line 11 of file double_var_decl_def.hpp.
stan::lang::double_var_decl::double_var_decl | ( | const range & | range, |
const std::string & | name, | ||
const std::vector< expression > & | dims, | ||
const expression & | def | ||
) |
Construct a real variable declaration with the specified range constraint, name, dimensions, and definition.
range | optional upper and lower bound constraints |
name | variable name |
dims | array dimensions |
def | definition |
Definition at line 13 of file double_var_decl_def.hpp.
range stan::lang::double_var_decl::range_ |
Range constraint on values with optional lower and upper bounds.
Definition at line 21 of file double_var_decl.hpp.