Dgp2Dcp.constant_canon: Dgp2Dcp canonicalizer for the constant atom
Description
Dgp2Dcp canonicalizer for the constant atom
Usage
Dgp2Dcp.constant_canon(expr, args)
Value
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.
Arguments
- expr
An Expression object
- args
A list of values for the expr variable