Hi,

thanks, fixed in SVN 150.

/// Jürgen


On 03/02/2014 11:50 AM, Daniel H. Leidisch wrote:
Hello!

Multiply and add doesn't seem to work with axis specifications:

       (3 5⍴1) ×[1] ⍳3
INDEX ERROR
       (3 5⍴1)×[1]⍳3
       ^          ^
INDEX ERROR
       (3 5⍴1)+[1]⍳3
       ^          ^

This works in NARS2000 and Dyalog:

       (3 5⍴1) ×[1] ⍳3
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
       (3 5⍴1)+[1]⍳3
2 2 2 2 2
3 3 3 3 3
4 4 4 4 4

Now, I don't have a copy of the standard to check (the pdf file from the
link mentioned in README-7-more-info seems to be corrupted – I couldn't
open it), but according to the draft (disS8485.pdf), these functions
don't take axis specifications. On the other hand, this works:

       (3 5⍴1) +[2] ⍳5
2 3 4 5 6
2 3 4 5 6
2 3 4 5 6


Regards,

Daniel





Reply via email to