Skip to contents

Creates a PSD constraint: e1 - e2 is positive semidefinite. This is the R equivalent of Python's A >> B.

Usage

e1 %>>% e2

Arguments

e1, e2

CVXR expressions or numeric matrices.

Value

A PSD constraint object.

See also

Examples

if (FALSE) { # \dontrun{
X <- Variable(3, 3, symmetric = TRUE)
constr <- X %>>% diag(3)  # X - I is PSD
} # }