Learn R Programming

CVXR (version 1.0)

HStack-class: The HStack class.

Description

Horizontal concatenation of values.

Usage

HStack(...)

# S4 method for HStack to_numeric(object, values)

# S4 method for HStack dim_from_args(object)

# S4 method for HStack is_atom_log_log_convex(object)

# S4 method for HStack is_atom_log_log_concave(object)

# S4 method for HStack validate_args(object)

# S4 method for 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: Horizontally concatenate the values using cbind.

  • dim_from_args: The dimensions of the atom.

  • is_atom_log_log_convex: Is the atom log-log convex?

  • is_atom_log_log_concave: Is the atom log-log concave?

  • validate_args: Check all arguments have the same height.

  • graph_implementation: The graph implementation of the atom.

Slots

...

'>Expression objects or matrices. All arguments must have the same dimensions except for axis 2 (columns).