Tally: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
No edit summary
Line 30: Line 30:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;≢2 3 4⍴5 6<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;≢2 3 4⍴5 6<br />
2</apll>
2</apll>
<p>This symbol was suggested by the language designers of Dyalog APL.</p>

Revision as of 11:18, 26 May 2013

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.