⎕
dfn ⎕
Create a dyadic tabling function from the dyad dfn
.
If the resulting function is passed vectors of length m and n, the result of f will be an m×n 'matrix' (a list of m items, each of which is a list of n items) such that a⌷b⌷(x f⎕ y)
is (b⌷x) f (a⌷y)
.
For example:
("A: " "B: ")+⎕("One" "Two") ((A: One A: Two ) (B: One B: Two ) ) (1 2 3)×⎕(5 7 11) ((5 7 11 ) (10 14 22 ) (15 21 33 ) )
The ContextException is thrown if dfn
is not dyadic.