atoti.array.n_greatest_indices(Return an array measure containing the indices of the n greatest elements of the passed array measure. The indices in the returned array are sorted, so the first index corresponds to the greatest value and the last index to to the n-th greatest value.
measure: VariableMeasureConvertible,
/,
n: PositiveInt | VariableMeasureConvertible,
) → MeasureDefinition
Parameters
measure
VariableMeasureConvertible
n
PositiveInt | VariableMeasureConvertible