This class represents the extraction of the diagonal from a square matrix.
DiagMat(expr)# S4 method for DiagMat
to_numeric(object, values)
# S4 method for DiagMat
size_from_args(object)
# S4 method for DiagMat
graph_implementation(object, arg_objs, size,
data = NA_real_)
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
: Extract the diagonal from a square matrix constant.
size_from_args
: The size of the atom.
graph_implementation
: The graph implementation of the atom.