Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Canonical-class

The Canonical class.


Description

This virtual class represents a canonical expression.

Usage

## S4 method for signature 'Canonical'
expr(object)

## S4 method for signature 'Canonical'
id(object)

## S4 method for signature 'Canonical'
canonical_form(object)

## S4 method for signature 'Canonical'
variables(object)

## S4 method for signature 'Canonical'
parameters(object)

## S4 method for signature 'Canonical'
constants(object)

## S4 method for signature 'Canonical'
atoms(object)

## S4 method for signature 'Canonical'
get_data(object)

Arguments

object

A Canonical object.

Methods (by generic)

  • expr: The expression associated with the input.

  • id: The unique ID of the canonical expression.

  • canonical_form: 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.

  • atoms: List of Atom objects in the expression.

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


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.