| %<<% | R Documentation |
Creates an NSD constraint: e2 - e1 is positive semidefinite,
i.e., e1 is NSD relative to e2.
This is the R equivalent of Python's A << B.
e1 %<<% e2
e1, e2 |
CVXR expressions or numeric matrices. |
A PSD constraint object.
PSD()
## Not run:
X <- Variable(3, 3, symmetric = TRUE)
constr <- X %<<% diag(3) # I - X is PSD (X is NSD relative to I)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.