Atom - Œœ - Odd-Even

Characters: Œ , œ

Tags: miscellaneous , array

Arity: monadic

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

Functionality

Return a pair containing the odd-indexed and even-indexed elements.

Details

For example, 6R Œœ returns [[1, 3, 5], [2, 4, 6]].

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