lambda_sum_largest function

Sum of Largest Eigenvalues

Sum of Largest Eigenvalues

The sum of the largest kk eigenvalues of a matrix. methods

lambda_sum_largest(A, k)

Arguments

  • A: An Expression or matrix.
  • k: The number of eigenvalues to sum over.

Returns

An Expression representing the sum of the largest k eigenvalues of the input.

Examples

C <- Variable(3,3) val <- cbind(c(1,2,3), c(2,4,5), c(3,5,6)) prob <- Problem(Minimize(lambda_sum_largest(C,2)), list(C == val)) result <- solve(prob) result$value result$getValue(C)
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07