Learn R Programming

CVXR (version 1.0)

SumSmallest: The SumSmallest atom.

Description

The sum of the smallest k values of a matrix.

Usage

SumSmallest(x, k)

Arguments

x

An '>Expression or numeric matrix.

k

The number of smallest values to sum over.

Value

Sum of the smlalest k values