Re: [Pdl-devel] PDL 2.029 released

2021-03-25 Thread Ed .
Hi Chris, Thank you for the kind words! Best regards, Ed From: chm Sent: 13 March 2021 19:52 To: pdl-devel@lists.sourceforge.net Subject: Re: [Pdl-devel] PDL 2.029 released Ed and PDL-ers- Congrats on the new PDL release!

Re: [Pdl-devel] [Pdl-general] PDL 2.029 released

2021-03-25 Thread Ed .
The $T part is just the introduction; so $TGC(floatversion,doubleversion)... Similarly $TFD(floatv,doublev). It’s one way of dealing with the different types in a threadloop, with the other being “types(F) %{ ... %} types(D) %{ ... %}”. I agree with your analysis of the new “cfunc” functions, s

Re: [Pdl-devel] [Pdl-general] PDL 2.029 released

2021-03-25 Thread Ed .
I’m currently working on making creal and cimag return real data rather than complex, which I’m doing by implementing a “real” type qualifier (in PP terminology), so: Pars => “a(); real [o] b()” This is also necessary to implement irfftn() in PDL::FFTW3 with native complex data,

Re: [Pdl-devel] [Pdl-general] PDL 2.029 released

2021-03-25 Thread Luis Mochan
I started playing with the new complex numbers. I find it nice and useful that creal and cimag can be applied to real pdl's, but the results are promoted to complex: pdl> $x=pdl(1) pdl> p $x 1 pdl> p $x->creal 1+0i pdl> p $x->cimag 0+0i Equality and inequality comparisons do work but they also re