RANK ERROR: Difference between revisions

Jump to navigation Jump to search
16 bytes added ,  13:59, 14 November 2019
no edit summary
Miraheze>Marshall
mNo edit summary
Miraheze>Adám Brudzewsky
No edit summary
Line 1: Line 1:
A '''RANK ERROR''' is an [[error message]] which indicates that an array had an incorrect [[rank]] for the way it was used. For example, in most APLs, [[Iota]] only accepts a [[vector]] or [[scalar]], so giving it a higher-rank array results in a RANK ERROR:
A '''RANK ERROR''' is an [[error message]] which indicates that an array had an incorrect [[rank]] for the way it was used. For example, in most APLs, [[Iota]] only accepts a [[vector]] or [[scalar]], so giving it a higher-rank array as [[argument]] results in a RANK ERROR:
<source lang=apl>
<source lang=apl>
       ⍳2 3⍴⍳6
       ⍳2 3⍴⍳6

Navigation menu