grapes-greater-than-greater-than-grapes: Positive Semidefinite Constraint Operator

%>>%R Documentation

Positive Semidefinite Constraint Operator

Description

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

PSD()

Examples

## Not run: 
X <- Variable(3, 3, symmetric = TRUE)
constr <- X %>>% diag(3)  # X - I is PSD

## End(Not run)

CVXR documentation built on March 6, 2026, 9:10 a.m.