Re: [Pdl-devel] [Pdl-general] conv2d

2022-08-21 Thread Luis Mochan
Sorry for the noise, it seems I've got it working now. Regards, Luis On Sun, Aug 21, 2022 at 08:23:51PM -0500, Luis Mochan wrote: > Hi, > I have used PDL::Graphics::Gnuplot to display the electric field > resulting from a calculation for some system. I would like to overlay > the image of the sys

Re: [Pdl-devel] [Pdl-general] conv2d

2022-08-21 Thread Luis Mochan
Hi, I have used PDL::Graphics::Gnuplot to display the electric field resulting from a calculation for some system. I would like to overlay the image of the system over the field. I tried to use the 'png transparent' terminal and made the plots {with=>'rgbalpha'} to have an alpha channel, but it did

Re: [Pdl-devel] [Pdl-general] conv2d

2022-08-21 Thread Luis Mochan
Hi Ed, On Sun, Aug 21, 2022 at 05:52:11PM +, Ed . wrote: > Hi Luis, > > The init_vars doesn’t do... > I’ve now merged it to the main branch, thank you! Could you pull it and make > sure it works as you expect with your code, so you can at least not rely on a > local modification? It seems

Re: [Pdl-devel] [Pdl-general] conv2d

2022-08-21 Thread Ed .
Hi Luis, The init_vars doesn’t do anything with the “vars” hash-entry other than use it literally, so all is well – since we now use C99, declarations later in the code as you added are fine. I did update it to PDL_CLDouble because the use of “double” previously was to avoid loss of precision,