Learn R Programming

CVXR (version 0.99-7)

VStack-class: The VStack class.

Description

Vertical concatenation of values.

Usage

VStack(...)

# S4 method for VStack validate_args(object)

# S4 method for VStack to_numeric(object, values)

# S4 method for VStack size_from_args(object)

# S4 method for VStack graph_implementation(object, arg_objs, size, data = NA_real_)

Arguments

...

'>Expression objects or matrices. All arguments must have the same number of columns.

object

A '>VStack object.

values

A list of arguments to the atom.

arg_objs

A list of linear expressions for each argument.

size

A vector with two elements representing the size of the resulting expression.

data

A list of additional data required by the atom.

Methods (by generic)

  • validate_args: Check all arguments have the same width.

  • to_numeric: Vertically concatenate the values using rbind.

  • size_from_args: The size of the atom.

  • graph_implementation: The graph implementation of the atom.

Slots

...

'>Expression objects or matrices. All arguments must have the same number of columns.