Singleton: Difference between revisions

Jump to navigation Jump to search
18 bytes added ,  09:07, 29 October 2019
m
Text replacement - "<code>" to "<source lang=apl inline>"
Miraheze>Marshall
(Created page with "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 <code>1=×/...")
 
Miraheze>Adám Brudzewsky
m (Text replacement - "<code>" to "<source lang=apl inline>")
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 <code>1=×/⍬</code>.
Every [[scalar]] is a singleton, because <source lang=apl inline>1=×/⍬</code>.


Singletons may be subject to [[singleton extension]].
Singletons may be subject to [[singleton extension]].

Navigation menu