
From:  Elias Mårtenson 
Subject:  Re: [Bugapl] scalar/array 
Date:  Sat, 4 Mar 2017 18:36:27 +0800 
what is the reason? do you know their reasoning
cause 1 is 1 element and 1 2 3 is 3 elements so ⍴ 1 2 3 is 3 and ⍴ 1 should have been 1
If the rank of an array is zero then the array is said to have no dimensions, and the product of the dimensions (see arraytotalsize) is then 1; a zerorank array therefore has a single element.
[Prev in Thread]  Current Thread  [Next in Thread] 