Positions of all occurrences of the largest element of a numeric list.
PositionLargest[list]
PositionLargest[list, n]
PositionLargest[list, n, orderfun]
PositionLargest[{3, 1, 4, 1, 5}]
→ {5}PositionLargest[{1, 3, 2, 3}]
→ {2, 4}PositionLargest[{1, 5, 3, 5, 2}, 2]
→ {{4, 2}, {3}}