This class represents the sum of any number of expressions.
# S4 method for Expression,missing
+(e1, e2)# S4 method for Expression,Expression
+(e1, e2)
# S4 method for Expression,ConstVal
+(e1, e2)
# S4 method for ConstVal,Expression
+(e1, e2)
# S4 method for AddExpression
dim_from_args(object)
# S4 method for AddExpression
name(x)
# S4 method for AddExpression
to_numeric(object, values)
# S4 method for AddExpression
is_atom_log_log_convex(object)
# S4 method for AddExpression
is_atom_log_log_concave(object)
# S4 method for AddExpression
is_symmetric(object)
# S4 method for AddExpression
is_hermitian(object)
# S4 method for AddExpression
copy(object, args = NULL, id_objects = list())
# S4 method for AddExpression
graph_implementation(object, arg_objs, dim, data = NA_real_)
A list of arguments to the atom.
An optional list of arguments to reconstruct the atom. Default is to use current args of the atom.
Currently unused.
A list of linear expressions for each argument.
A vector representing the dimensions of the resulting expression.
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.