Not a general solution, but the 3 convolutions can be computed as follows.

pp=: +//.@(*/)       NB. 1D

ppp=: +//.@(pp"1/)   NB. 2D

pppp=: +//.@(ppp"2/) NB. 3D


1D
   h (conv-:pp) f
1

2D
   h (conv-:ppp) f
1

3D
   h (conv-:pppp) h
1



-- 
Met vriendelijke groet,
=@@i

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to