The AddExpression class.
This class represents the sum of any number of expressions.
## S4 method for signature 'Expression,missing' e1 + e2 ## S4 method for signature 'Expression,Expression' e1 + e2 ## S4 method for signature 'Expression,ConstVal' e1 + e2 ## S4 method for signature 'ConstVal,Expression' e1 + e2 ## S4 method for signature 'AddExpression' dim_from_args(object) ## S4 method for signature 'AddExpression' name(x) ## S4 method for signature 'AddExpression' to_numeric(object, values) ## S4 method for signature 'AddExpression' is_atom_log_log_convex(object) ## S4 method for signature 'AddExpression' is_atom_log_log_concave(object) ## S4 method for signature 'AddExpression' is_symmetric(object) ## S4 method for signature 'AddExpression' is_hermitian(object) ## S4 method for signature 'AddExpression' copy(object, args = NULL, id_objects = list()) ## S4 method for signature 'AddExpression' graph_implementation(object, arg_objs, dim, data = NA_real_)
e1, e2 |
The Expression objects or numeric constants to add. |
x, object |
An AddExpression object. |
values |
A list of arguments to the atom. |
args |
An optional list of arguments to reconstruct the atom. Default is to use current args of the atom. |
id_objects |
Currently unused. |
arg_objs |
A list of linear expressions for each argument. |
dim |
A vector representing the dimensions of the resulting expression. |
data |
A list of additional data required by the atom. |
dim_from_args
: The dimensions of the expression.
name
: The string form of the expression.
to_numeric
: Sum all the values.
is_atom_log_log_convex
: Is the atom log-log convex?
is_atom_log_log_concave
: Is the atom log-log convex?
is_symmetric
: Is the atom symmetric?
is_hermitian
: Is the atom hermitian?
copy
: Returns a shallow copy of the AddExpression atom
graph_implementation
: The graph implementation of the expression.
arg_groups
A list
of Expressions and numeric data.frame, matrix, or vector objects.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.