This class represents the conversion of a vector into a diagonal matrix.
DiagVec(expr)# S4 method for DiagVec
to_numeric(object, values)
# S4 method for DiagVec
size_from_args(object)
# S4 method for DiagVec
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: Convert the vector constant into a diagonal matrix.
size_from_args: The size of the atom.
graph_implementation: The graph implementation of the atom.