UpperTri-class {CVXR} | R Documentation |
The UpperTri class.
Description
The vectorized strictly upper triagonal entries of a matrix.
Usage
UpperTri(expr)
## S4 method for signature 'UpperTri'
to_numeric(object, values)
## S4 method for signature 'UpperTri'
validate_args(object)
## S4 method for signature 'UpperTri'
dim_from_args(object)
## S4 method for signature 'UpperTri'
is_atom_log_log_convex(object)
## S4 method for signature 'UpperTri'
is_atom_log_log_concave(object)
## S4 method for signature 'UpperTri'
graph_implementation(object, arg_objs, dim, data = NA_real_)
Arguments
expr |
An Expression or numeric matrix. |
object |
An UpperTri object. |
values |
A list of arguments to the atom. |
arg_objs |
A list of linear expressions for each argument. |
dim |
A vector representing the dimensions of the resulting expression. |
data |
A list of additional data required by the atom. |
Methods (by generic)
-
to_numeric(UpperTri)
: Vectorize the upper triagonal entries. -
validate_args(UpperTri)
: Check the argument is a square matrix. -
dim_from_args(UpperTri)
: The dimensions of the atom. -
is_atom_log_log_convex(UpperTri)
: Is the atom log-log convex? -
is_atom_log_log_concave(UpperTri)
: Is the atom log-log concave? -
graph_implementation(UpperTri)
: The graph implementation of the atom.
Slots
expr
An Expression or numeric matrix.
[Package CVXR version 1.0-14 Index]