4,494
edits
m (Text replacement - "Category:Scalar dyadic functions" to "Category:Comparison functions") |
m (Text replacement - " ⊢( *[^∘])" to " ⎕←$1") |
||
Line 28: | Line 28: | ||
In a [[Nested array model|nested]] APL, Equal to is pervasive, and compares all [[simple scalar]]s found in a [[nested array]]. | In a [[Nested array model|nested]] APL, Equal to is pervasive, and compares all [[simple scalar]]s found in a [[nested array]]. | ||
<source lang=apl> | <source lang=apl> | ||
⎕←n ← ((2 1)0)(1 0 3)(2 2⍴4 0) | |||
┌───────┬─────┬───┐ | ┌───────┬─────┬───┐ | ||
│┌───┬─┐│1 0 3│4 0│ | │┌───┬─┐│1 0 3│4 0│ |