![]() |
Stan
2.14.0
probability, sampling & optimization
|
AST structure for unary operations consisting of an operation and argument. More...
#include <unary_op.hpp>
Public Member Functions | |
unary_op (char op, const expression &subject) | |
Construct a unary operation of the specified operation and argument. More... | |
Public Attributes | |
char | op |
Character-level representation of operation. More... | |
expression | subject |
Argument. More... | |
expr_type | type_ |
Type of result. More... | |
AST structure for unary operations consisting of an operation and argument.
Definition at line 14 of file unary_op.hpp.
stan::lang::unary_op::unary_op | ( | char | op, |
const expression & | subject | ||
) |
Construct a unary operation of the specified operation and argument.
op | operator representation |
subject | argument |
Definition at line 9 of file unary_op_def.hpp.
char stan::lang::unary_op::op |
Character-level representation of operation.
Definition at line 18 of file unary_op.hpp.
expression stan::lang::unary_op::subject |
Argument.
Definition at line 23 of file unary_op.hpp.
expr_type stan::lang::unary_op::type_ |
Type of result.
Definition at line 28 of file unary_op.hpp.