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


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