User talk:⊂⍺m: Difference between revisions

Jump to navigation Jump to search
786 bytes added ,  01:05, 26 June 2023
Alternate model for inner versus outer product
No edit summary
Tags: Mobile edit Mobile web edit
(Alternate model for inner versus outer product)
Line 4: Line 4:


[[User:⊂⍺m|⊂⍺m]] ([[User talk:⊂⍺m|talk]]) 22:45, 25 June 2023 (UTC) ⊂⍺m
[[User:⊂⍺m|⊂⍺m]] ([[User talk:⊂⍺m|talk]]) 22:45, 25 June 2023 (UTC) ⊂⍺m
:Iverson's model may have been more like <syntaxhighlight lang=apl inline>f⌿⍤(1-≢⍴X)⊢ X g⍤¯1⍤1 99⊢ Y</syntaxhighlight>, so that the flat intermediate result does have this extra axis. Maybe with a transpose like your second example, who knows. In a nested APL, <syntaxhighlight lang=apl inline>g¨</syntaxhighlight> should be used instead of <syntaxhighlight lang=apl inline>g</syntaxhighlight>, but I think with this modification it correctly describes the semantics other than maybe evaluation order. I would say even in your examples there is an extra axis, but it's hidden away by a layer of nesting; forcing everything to be flat makes it literally an array axis at some point. --[[User:Marshall|Marshall]] ([[User talk:Marshall|talk]]) 01:05, 26 June 2023 (UTC)

Navigation menu