Learn R Programming

CVXR (version 1.0-14)

norm_nuc: Nuclear Norm

Description

The nuclear norm, i.e. sum of the singular values of a matrix.

Usage

norm_nuc(A)

Value

An Expression representing the nuclear norm of the input.

Arguments

A

An Expression or matrix.

Examples

Run this code
C <- Variable(3,3)
val <- cbind(3:5, 6:8, 9:11)
prob <- Problem(Minimize(norm_nuc(C)), list(C == val))
result <- solve(prob)
result$value

Run the code above in your browser using DataLab