If I use the code in http://rosettacode.org/wiki/Deconvolution/1D#J I get

   g divide f
_8.9987079 _9.79829 _2.8177029 _2.2688657

   g divide h
_2.4248816 _6.0369603 _1.6137776 7.3469275 _5.1888632 4.2435677 _1.4563227
_10.321829 _10.177195 5.4978906 _0.34950258 3.7744154 0.26877438 _3.8080763


   ,.f;g;h
+------------------------------------------------------------+
|_3 _6 _1 8 _6 3 _1 _9 _9 3 _2 5 2 _2 _7 _1                  |
+------------------------------------------------------------+
|24 75 71 _34 3 22 _45 23 245 25 52 25 _67 _96 96 31 55 36 29|
+------------------------------------------------------------+
|_8 _9 _3 _1 _6 7                                            |
+------------------------------------------------------------+
   Ai=: (i...@]  =/ i...@[ -/ i.@>:@-)&#
   divide=: [ +/ .*~ [:%.&.x: ] +/ .* Ai


R.E. Boss


> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:programming-
> [email protected]] Namens Raul Miller
> Verzonden: dinsdag 2 maart 2010 22:49
> Aan: Programming forum
> Onderwerp: [Jprogramming] convolution
> 
> We can use /. for convolution (+//.@(*/)) of one dimensional
> arrays, but do we have anything that simple for higher
> dimensional arrays?
> 
> See also:
>    http://rosettacode.org/wiki/Deconvolution/2D%2B
> 
> Thanks,
> 
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to