Canonical-class function

The Canonical class.

The Canonical class.

This virtual class represents a canonical expression. class

## 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(Canonical): The expression associated with the input.
  • id(Canonical): The unique ID of the canonical expression.
  • canonical_form(Canonical): The graph implementation of the input.
  • variables(Canonical): List of Variable objects in the expression.
  • parameters(Canonical): List of Parameter objects in the expression.
  • constants(Canonical): List of Constant objects in the expression.
  • atoms(Canonical): List of Atom objects in the expression.
  • get_data(Canonical): Information needed to reconstruct the expression aside from its arguments.
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07