sigma_max | R Documentation |
The maximum singular value of a matrix.
sigma_max(A = A)
A |
An Expression or matrix. |
An Expression representing the maximum singular value.
C <- Variable(3,2)
val <- rbind(c(1,2), c(3,4), c(5,6))
obj <- sigma_max(C)
constr <- list(C == val)
prob <- Problem(Minimize(obj), constr)
result <- solve(prob, solver = "SCS")
result$value
result$getValue(C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.