![]() |
Stan
2.14.0
probability, sampling & optimization
|
Structure to hold an array expression. More...
#include <array_expr.hpp>
Public Member Functions | |
array_expr () | |
Construct a default array expression. More... | |
array_expr (const std::vector< expression > &args) | |
Construct an array expression from the specified sequence of expressions. More... | |
array_expr & | operator= (const array_expr &al) |
Assign specified array expression to this array expression. More... | |
Public Attributes | |
std::vector< expression > | args_ |
Sequence of expressions for array values. More... | |
expr_type | type_ |
Type of array. More... | |
bool | has_var_ |
True if there is a variable within any of the expressions that is a parameter, transformed parameter, or non-integer local variable. More... | |
var_origin | var_origin_ |
Origin of this array expression. More... | |
Structure to hold an array expression.
Definition at line 17 of file array_expr.hpp.
stan::lang::array_expr::array_expr | ( | ) |
Construct a default array expression.
Definition at line 10 of file array_expr_def.hpp.
stan::lang::array_expr::array_expr | ( | const std::vector< expression > & | args | ) |
Construct an array expression from the specified sequence of expressions.
args | sequence of arguments |
Definition at line 12 of file array_expr_def.hpp.
array_expr & stan::lang::array_expr::operator= | ( | const array_expr & | al | ) |
Assign specified array expression to this array expression.
al | new array expression value |
Definition at line 15 of file array_expr_def.hpp.
std::vector<expression> stan::lang::array_expr::args_ |
Sequence of expressions for array values.
Definition at line 21 of file array_expr.hpp.
bool stan::lang::array_expr::has_var_ |
True if there is a variable within any of the expressions that is a parameter, transformed parameter, or non-integer local variable.
Definition at line 33 of file array_expr.hpp.
expr_type stan::lang::array_expr::type_ |
Type of array.
Definition at line 26 of file array_expr.hpp.
var_origin stan::lang::array_expr::var_origin_ |
Origin of this array expression.
Definition at line 40 of file array_expr.hpp.