VStack-class function

The VStack class.

The VStack class.

Vertical concatenation of values. class

VStack(...) ## S4 method for signature 'VStack' to_numeric(object, values) ## S4 method for signature 'VStack' validate_args(object) ## S4 method for signature 'VStack' dim_from_args(object) ## S4 method for signature 'VStack' is_atom_log_log_convex(object) ## S4 method for signature 'VStack' is_atom_log_log_concave(object) ## S4 method for signature 'VStack' graph_implementation(object, arg_objs, dim, 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.
  • 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(VStack): Vertically concatenate the values using rbind.
  • validate_args(VStack): Check all arguments have the same width.
  • dim_from_args(VStack): The dimensions of the atom.
  • is_atom_log_log_convex(VStack): Is the atom log-log convex?
  • is_atom_log_log_concave(VStack): Is the atom log-log concave?
  • graph_implementation(VStack): The graph implementation of the atom.

Slots

  • ...: Expression objects or matrices. All arguments must have the same number of columns.
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07

Downloads (last 30 days):