|
From: | Dr . Jürgen Sauermann |
Subject: | Re: Inconsistent result with user function vs. primitive function |
Date: | Sun, 8 Nov 2020 18:53:50 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Consider the following two commands. I believe they are effectively identical, but they return different results:
1 2 3 -.×⍨ 10 11 12
4
1 2 3 {⍺-⍵}.×⍨ 10 11 12
24
I tested on Dyalog, and there both versions return 24.
Regards.Elias
[Prev in Thread] | Current Thread | [Next in Thread] |