Singleton: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Adám Brudzewsky m (Text replacement - "<code>" to "<source lang=apl inline>") |
Miraheze>Adám Brudzewsky m (Text replacement - "</code>" to "</source>") |
||
Line 1: | Line 1: | ||
A singleton is an array with [[bound]] 1. Equivalently, its [[shape]] consists entirely of 1s. It may have any [[rank]]. | A singleton is an array with [[bound]] 1. Equivalently, its [[shape]] consists entirely of 1s. It may have any [[rank]]. | ||
Every [[scalar]] is a singleton, because <source lang=apl inline>1=×/⍬</ | Every [[scalar]] is a singleton, because <source lang=apl inline>1=×/⍬</source>. | ||
Singletons may be subject to [[singleton extension]]. | Singletons may be subject to [[singleton extension]]. |
Revision as of 09:07, 29 October 2019
A singleton is an array with bound 1. Equivalently, its shape consists entirely of 1s. It may have any rank.
Every scalar is a singleton, because 1=×/⍬
.
Singletons may be subject to singleton extension.