sumabsk implements an operator which returns the k largest absolute values of a vector, or sum of k largest absolute eigenvalues of a positive semi-definite matrix.


y = sumabsk(x,k)

Operator implementation

The operator is implemented using a graph model for the vector case, and semidefinite programming based graph model for the symmetric matrix case.

Leave a Comment