This class represents the conversion of a vector into a diagonal matrix.
DiagVec(expr)
# S4 method for class 'DiagVec'
to_numeric(object, values)
# S4 method for class 'DiagVec'
dim_from_args(object)
# S4 method for class 'DiagVec'
is_atom_log_log_convex(object)
# S4 method for class 'DiagVec'
is_atom_log_log_concave(object)
# S4 method for class 'DiagVec'
is_symmetric(object)
# S4 method for class 'DiagVec'
is_hermitian(object)
# S4 method for class 'DiagVec'
graph_implementation(object, arg_objs, dim, data = NA_real_)
An Expression representing the vector to convert.
A DiagVec object.
A list of arguments to the atom.
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.
to_numeric(DiagVec)
: Convert the vector constant into a diagonal matrix.
dim_from_args(DiagVec)
: The dimensions of the atom.
is_atom_log_log_convex(DiagVec)
: Is the atom log-log convex?
is_atom_log_log_concave(DiagVec)
: Is the atom log-log concave?
is_symmetric(DiagVec)
: Is the expression symmetric?
is_hermitian(DiagVec)
: Is the expression hermitian?
graph_implementation(DiagVec)
: The graph implementation of the atom.
expr
An Expression representing the vector to convert.