Reverse: Difference between revisions
Jump to navigation
Jump to search
no edit summary
Miraheze>Marshall |
Miraheze>Adám Brudzewsky No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Built-ins|Reverse|⌽|⊖}} is a [[monadic function]] which reorders [[elements]] of the argument to go in the opposite direction along a specified [[axis]]. The name Reverse is typically used for the primitive <source lang=apl inline>⌽</source>, which reverses along the last axis, while <source lang=apl inline>⊖</source>, which reverses along the first axis, is called "Reverse First", "Reverse-down", or similar. In APLs with [[function axis]], either for may use a specified axis which overrides this default choice of axis. In the [[leading axis model]], specifying an axis is discouraged in favor of using <source lang=apl inline>⊖</source> with the [[Rank operator]]. | ||
== Examples == | == Examples == |