Skip to main content

TakeLargest

TakeLargest[data,n] gives the n largest elements of data, sorted in descending order.

TakeLargest[data->prop,n] gives the property prop for the n largest elements in data.

TakeLargest[data,n,p] uses the ordering function p for sorting.

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

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