Learn R Programming

CVXR (version 1.0-14)

SumSmallest: The SumSmallest atom.

Description

The sum of the smallest k values of a matrix.

Usage

SumSmallest(x, k)

Value

Sum of the smlalest k values

Arguments

x

An Expression or numeric matrix.

k

The number of smallest values to sum over.