Skip to main content

TakeSmallest

TakeSmallest[data,n] gives the n smallest elements of data, sorted in ascending order.

TakeSmallest[data->prop,n] gives the property prop for the n smallest elements in data.

TakeSmallest[data,n,p] uses the order function p for sorting.

TakeSmallest[n] represents an operator form of TakeSmallest that can be applied to an expression.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.