![]() |
Stan
2.14.0
probability, sampling & optimization
|
Structure for holding a variable with its dimension declarations. More...
#include <variable_dims.hpp>
Public Member Functions | |
variable_dims () | |
Construct a default object. More... | |
variable_dims (const std::string &name, const std::vector< expression > &dims) | |
Construct with the specified name and dimensions. More... | |
Public Attributes | |
std::string | name_ |
Name of the variable. More... | |
std::vector< expression > | dims_ |
Sequence of expressions for dimensions. More... | |
Structure for holding a variable with its dimension declarations.
Definition at line 16 of file variable_dims.hpp.
stan::lang::variable_dims::variable_dims | ( | ) |
Construct a default object.
Definition at line 11 of file variable_dims_def.hpp.
stan::lang::variable_dims::variable_dims | ( | const std::string & | name, |
const std::vector< expression > & | dims | ||
) |
Construct with the specified name and dimensions.
name | name of variable |
dims | dimensions of variable |
Definition at line 13 of file variable_dims_def.hpp.
std::vector<expression> stan::lang::variable_dims::dims_ |
Sequence of expressions for dimensions.
Definition at line 25 of file variable_dims.hpp.
std::string stan::lang::variable_dims::name_ |
Name of the variable.
Definition at line 20 of file variable_dims.hpp.