Dgp2Dcp.add_canon: Dgp2Dcp canonicalizer for the addition atom
Description
Dgp2Dcp canonicalizer for the addition atom
Usage
Dgp2Dcp.add_canon(expr, args)
Value
A canonicalization of the addition atom of a DGP expression,
where the returned expression is the transformed DCP equivalent.
Arguments
- expr
An Expression object
- args
A list of values for the expr variable