Re:The Array Cast – A podcast about the array programming la...
by rscho on Thursday May 20, 2021 @09:17AM
(#27220714)
> `1 + 1` is not an addition of two scalars, but instead of two arrays of length 1
I think that's true of (Dyalog) APL, but not of J [1]. APL follows the nested array model (that you describe), while J follows the flat array model that does have true scalars.
I think that's true of (Dyalog) APL, but not of J [1]. APL follows the nested array model (that you describe), while J follows the flat array model that does have true scalars.
[1] https://aplwiki.com/wiki/Array_model#Flat_array_theory