SumSmallest: The SumSmallest atom.

View source: R/atoms.R

SumSmallestR Documentation

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


CVXR documentation built on June 27, 2024, 5:11 p.m.