lambda_max | R Documentation |
The maximum eigenvalue of a matrix, \lambda_{\max}(A)
.
lambda_max(A)
A |
An Expression or matrix. |
An Expression representing the maximum eigenvalue of the input.
A <- Variable(2,2)
prob <- Problem(Minimize(lambda_max(A)), list(A >= 2))
result <- solve(prob)
result$value
result$getValue(A)
obj <- Maximize(A[2,1] - A[1,2])
prob <- Problem(obj, list(lambda_max(A) <= 100, A[1,1] == 2, A[2,2] == 2, A[2,1] == 2))
result <- solve(prob)
result$value
result$getValue(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.