Dgp2Dcp.constant_canon function

Dgp2Dcp canonicalizer for the constant atom

Dgp2Dcp canonicalizer for the constant atom

Dgp2Dcp.constant_canon(expr, args)

Arguments

  • expr: An Expression object
  • args: A list of values for the expr variable

Returns

A canonicalization of the constant atom of a DGP expression, where the returned expression is the DCP equivalent resulting from the log of the expression.

  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07