Learn R Programming

CVXR (version 0.99-7)

Canonical-class: The Canonical class.

Description

This virtual class represents a canonical expression.

Usage

# S4 method for Canonical
canonicalize(object)

# S4 method for Canonical variables(object)

# S4 method for Canonical parameters(object)

# S4 method for Canonical constants(object)

# S4 method for Canonical get_data(object)

Arguments

object

A '>Canonical object.

Methods (by generic)

  • canonicalize: The graph implementation of the input.

  • variables: List of '>Variable objects in the expression.

  • parameters: List of '>Parameter objects in the expression.

  • constants: List of '>Constant objects in the expression.

  • get_data: Information needed to reconstruct the expression aside from its arguments.