Doesn't seem like a good solution, but: B ,"0/ C ┌─┬─┐ │c│e│ ├─┼─┤ │c│f│ └─┴─┘
┌─┬─┐ │d│e│ ├─┼─┤ │d│f│ └─┴─┘ ,/B ,"0/ C ┌─┬─┐ │c│e│ ├─┼─┤ │c│f│ ├─┼─┤ │d│e│ ├─┼─┤ │d│f│ └─┴─┘ ,/B ,"0"0 1 C ┌─┬─┐ │c│e│ ├─┼─┤ │c│f│ ├─┼─┤ │d│e│ ├─┼─┤ │d│f│ └─┴─┘ D -: ,/A ,"0 1/ ,/B ,"0/ C 1 On 2021-04-08 13:44, Thomas Bulka wrote:
Hello everyone, I'm struggling with some kind of array construction task, which should be fairly easy in J, but I found this a hard nut to crack. Say, I have three arrays: A =: 'a';'b' B =: 'c';'d' C =: 'e';'f' What I want to construct is the following array: D =: 8 3 $ <"0 'aceacfadeadfbcebcfbdebdf' I'd very much appreciate any hints on how to approach this problem. Kind regards, Thomas ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
