Open sloorush opened 1 month ago
Log from Silas' email:
Working on Mantis [21349] and think we're missing some tests for inner product. Believe the following should SYNTAX ERROR as f is monadic and does with vectors as arguments.
∇ r← f a
[1] r←a
[2] ∇
2 f.+ 4
6
1 2 f.+ 4 5
SYNTAX ERROR: The function does not take a left argument
1 2 f.+4 5
∧
1 f.+4 5
SYNTAX ERROR: The function does not take a left argument
1 f.+4 5
∧
Don't know where you've got to with ullu, but case that definitely should be checked!
Not an issue - due to the fact that 6 ≡ f/6
I.e. reduction of scalar doesn't apply the function, and so no error generated.
Can I close this issue then?
On Fri, 9 Aug 2024 at 19:39, Silas @.***> wrote:
Not an issue - due to the fact that 6 ≡ f/6 I.e. reduction of scalar doesn't apply the function, and so no error generated.
— Reply to this email directly, view it on GitHub https://github.com/Dyalog/ullu/issues/75#issuecomment-2278035544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7UPZIYPKZVXLX63DOTGYDZQTEQ3AVCNFSM6AAAAABMIEB6QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYGAZTKNJUGQ . You are receiving this because you authored the thread.Message ID: @.***>
yes
Log for tests for inner product.
Dyalog docs: https://help.dyalog.com/latest/Content/Language/Primitive%20Operators/Inner%20Product.htm