Atom - M - Indices of Maximal Elements

Characters: M

Tags: array , number , optimization

Arity: monadic

This atom is monadic, which means it takes one argument.


Find the indices of elements that are maximal in a list.


This atom will error on single values rather than automatically casting to range or singleton.


This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):