Atom - M - Indices of Maximal Elements

Characters: M

Tags: array , number , optimization

Arity: monadic

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

Functionality

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

Details

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

Synonyms

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):