Tally

From NARS2000
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Z←≢R returns an integer scalar identical to ⍬⍴(⍴R),1.
R is an arbitrary array.
Z is an integer scalar whose value is the number of items along the first coordinate of R.


For example,

      ≢⍬
0
      ≢23
1
      ≢,23
1
      ≢2 3 4⍴5 6
2

This symbol was suggested by the language designers of Dyalog APL.