Learn R Programming

CVXR (version 1.0)

lambda_min: Minimum Eigenvalue

Description

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

Usage

lambda_min(A)

Arguments

A

An '>Expression or matrix.

Value

An '>Expression representing the minimum eigenvalue of the input.

Examples

Run this code
# NOT RUN {
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