HStack-class {CVXR} | R Documentation |
The HStack class.
Description
Horizontal concatenation of values.
Usage
HStack(...)
## S4 method for signature 'HStack'
to_numeric(object, values)
## S4 method for signature 'HStack'
dim_from_args(object)
## S4 method for signature 'HStack'
is_atom_log_log_convex(object)
## S4 method for signature 'HStack'
is_atom_log_log_concave(object)
## S4 method for signature 'HStack'
validate_args(object)
## S4 method for signature 'HStack'
graph_implementation(object, arg_objs, dim, data = NA_real_)
Arguments
... |
Expression objects or matrices. All arguments must have the same dimensions except for axis 2 (columns). |
object |
A HStack 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(HStack)
: Horizontally concatenate the values usingcbind
. -
dim_from_args(HStack)
: The dimensions of the atom. -
is_atom_log_log_convex(HStack)
: Is the atom log-log convex? -
is_atom_log_log_concave(HStack)
: Is the atom log-log concave? -
validate_args(HStack)
: Check all arguments have the same height. -
graph_implementation(HStack)
: The graph implementation of the atom.
Slots
...
Expression objects or matrices. All arguments must have the same dimensions except for axis 2 (columns).