liebtag@stlvm20.vnet.ibm.com ("David Liebtag") (05/15/91)
Kingsley Morse,
Here's an APL2 solution:
M~2 37 1 2 3 4 5 6
V~7 8
Mf[1]V
7 14 21
32 40 48
Regards,
David Liebtagliebtag@stlvm20.vnet.ibm.com ("David Liebtag") (05/16/91)
Ref: Resending article without APL characters
Kingsley Morse,
Here's an APL2 solution:
M <- 2 3 reshape 1 2 3 4 5 6
V <- 7 8
M times [ quadIO ] V
7 14 21
32 40 48
Regards,
David Liebtag
I think brackets translate okay, but in case they don't:
[ is left bracket
] is right bracket