Re: [Pdl-devel] decimate function

2024-06-13 Thread chm
If M and N are integers and N%M == 0 then you could use indexing and dimension "tricks" to collect the values for the new pixels to the first dim and then apply your preferred interpolation/smoothing operation. You may find inspiration at https://github.com/PDLPorters/pdl/wiki/Resampling-up-a-

Re: [Pdl-devel] .gitignore strangeness

2024-06-02 Thread chm
What about output in the files at the top saying something like "This file is generated from XXX.pd.  Please modify that instead. Edits to this file will be overwritten."? On 6/2/2024 6:18 AM, Jörg Sommrey wrote: What about this paragraph as part of the OVERVIEW / WARNING section in PDL::PP:  

Re: [Pdl-devel] PDL 2.077 released

2022-03-16 Thread chm
Nice to see the steady progress! --Chris On 3/16/2022 9:19 AM, Ed . wrote: Dear PDL folks, PDL 2.077 has just been released. Notable changes since 2.075: * Performance improvements for Primitive::matmult * Many bugfixes * A single badvalue in Boolean context causes an exception * rea

Re: [Pdl-devel] PDL 2.029 released

2021-03-13 Thread chm
Ed and PDL-ers- Congrats on the new PDL release!  Getting the native complex number support is a real accomplishment and must have been quite a challenge.  ;-) V/r, Chris On 3/12/2021 1:25 PM, Ed . wrote: Dear PDL folks, PDL 2.029 has just been released. Following Monday’s dev-release, t