2,245

edits

Jump to navigation
Jump to search

</source>

Decode has an important property with array [[index]]: Given an arbitrary array A with [[shape]] S, the index of an [[element]] in A can be decoded with S to obtain the corresponding index in the [[ravel]] of A. Decoding all indices given by [[Index Generator]] shows the ravel order of the elements of an array with the given shape. Note that [[index origin]] 0 (<source lang=apl inline>⎕IO←0</source> ) is required for this to hold.

<source lang=apl>

Retrieved from ‘https://aplwiki.com/wiki/Special:MobileDiff/5007’