Hi,
thanks, fixed in SVN 737.
/// Jürgen
On 06/07/2016 05:51 AM, Christian
Robert wrote:
NARS2000 give:
a←2 3⍴.1×⍳6
b←2 3⍴⍳6
a + b
1.1 2.2 3.3
4.4 5.5 6.6
a+[1]b
LENGTH ERROR
a+[1]b
∧
a+[2]b
LENGTH ERROR
a+[2]b
∧
looks like something *I* do not yet master. Ah the newbies ...
they talk, talk and it's just wind.
Xtian.
On 2016-06-06 23:35, Christian Robert wrote:
I agree,
)sic
a←2 3⍴.1×⍳6
b←2 3⍴⍳6
a + b
1.1 2.2 3.3
4.4 5.5 6.6
a+[1]b
1.1 1.2 1.3
4.4 4.5 4.6
⍝ should give an error above, rank error.
a+[2]b
LENGTH ERROR
a+[2]b
^ ^
⍝ this is NOT ok
⎕io
1
my 2 cents,
Xtian.
On 2016-06-06 23:14, Xiao-Yong Jin wrote:
Hi,
I accidentally found this in gnu apl:
(2 3⍴.1×⍳6)+[1]2 3⍴⍳6
1.1 1.2 1.3
4.4 4.5 4.6
I would expect a rank error. Bug or feature?
|