The sum of the smallest k values of a matrix.

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