|
From: | Dr . Jürgen Sauermann |
Subject: | Re: Different behavior of defined functions and primitive functions in inner product |
Date: | Sat, 14 May 2022 13:45:56 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
Dear maintainers,
In `)HELP .`, it is mentioned that `Z[i;j] is F/A[i;] G B[;j]`.
However, using defined functions and primitive functions as right operand of inner product may give different results.
A←3 3⍴⍳9
,.≡⍨ A
0 0 0
0 0 0
0 0 0
∇Z←L F R
[1] Z←L≡R
[2] ∇
,.F⍨ A
1 0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0 0
0 0 0 0 0 0 0 0 1
It seems that the defined function is applied to each cell of the vector. Similarly, direct function also does.
Thank you for your attention.
M Misaki
[Prev in Thread] | Current Thread | [Next in Thread] |