Skip to content

PositionSmallest

Positions of all occurrences of the smallest element of a numeric list.

$ wo 'PositionSmallest[{3, 1, 4, 1, 5}]'
{2, 4}