sigma_max: Maximum Singular Value

sigma_maxR 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)

anqif/CVXR documentation built on Feb. 6, 2024, 4:28 a.m.