RANK ERROR: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Adám Brudzewsky No edit summary |
Miraheze>Marshall mNo 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 results in a RANK ERROR: | ||
<source lang=apl> | <source lang=apl> | ||
⍳2 3⍴⍳6 | ⍳2 3⍴⍳6 |