DgpCanonMethods-class {CVXR} | R Documentation |
DGP canonical methods class.
Description
Canonicalization of DGPs is a stateful procedure, hence the need for a class.
Usage
## S4 method for signature 'DgpCanonMethods'
names(x)
## S4 method for signature 'DgpCanonMethods'
x$name
Arguments
x |
A DgpCanonMethods object. |
name |
The name of the atom or expression to canonicalize. |
Methods (by generic)
-
names(DgpCanonMethods)
: Returns the name of all the canonicalization methods -
$
: Returns either a canonicalized variable or a corresponding Dgp2Dcp canonicalization method
[Package CVXR version 1.0-14 Index]