sigma_max {CVXR}R Documentation

Maximum Singular Value

Description

The maximum singular value of a matrix.

Usage

sigma_max(A = A)

Arguments

A

An Expression or matrix.

Value

An Expression representing the maximum singular value.

Examples

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)

[Package CVXR version 1.0-10 Index]