Singleton: Difference between revisions

Jump to navigation Jump to search
m (Kinds of array category)
mNo edit summary
Line 1: Line 1:
A '''singleton''' is an [[array]] with [[bound]] 1. Equivalently, its [[shape]] consists entirely of 1s. It may have any [[rank]]. For example, all the following are singletons:
A '''singleton''' is an [[Array model|array]] with [[bound]] 1. Equivalently, its [[shape]] consists entirely of 1s. It may have any [[rank]]. For example, all the following are singletons:


* The [[scalar]] <source lang=apl inline>42</source>
* The [[scalar]] <source lang=apl inline>42</source>