Learn R Programming

CVXR (version 1.0-14)

lambda_min: Minimum Eigenvalue

Description

The minimum eigenvalue of a matrix, \(\lambda_{\min}(A)\).

Usage

lambda_min(A)

Value

An Expression representing the minimum eigenvalue of the input.

Arguments

A

An Expression or matrix.

Examples

Run this code
A <- Variable(2,2)
val <- cbind(c(5,7), c(7,-3))
prob <- Problem(Maximize(lambda_min(A)), list(A == val))
result <- solve(prob)
result$value
result$getValue(A)

Run the code above in your browser using DataLab