Atom - - Ones at Indices

Characters:

Tags: array , number , vectorize

Arity: monadic

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

Functionality

Return a boolean array with 1s at the indices in the argument and 0s elsewhere. Vectorizes at depth 1.

Details

This is the right inverse of Indices of Truthy Values (T).