This class represents the sum of all entries in a vector or matrix.
SumEntries(expr, axis = NA_real_)# S4 method for SumEntries
to_numeric(object, values)
# S4 method for SumEntries
graph_implementation(object, arg_objs, size,
data = NA_real_)
(Optional) The dimension across which to apply the function: 1
indicates rows, 2
indicates columns, and NA
indicates rows and columns. The default is NA
.
A list of arguments to the atom.
A list of linear expressions for each argument.
A vector with two elements representing the size of the resulting expression.
A list of additional data required by the atom.
to_numeric
: Sum the entries along the specified axis.
graph_implementation
: The graph implementation of the atom.