Re: [Pdl-general] PDL::Tranform issues

2022-10-19 Thread Ed .
for...@boulder.swri.edu> Sent: 19 October 2022 15:54 To: Paul Goodall<mailto:paul.thomas.good...@gmail.com> Cc: pdl-general@lists.sourceforge.net<mailto:pdl-general@lists.sourceforge.net> Subject: Re: [Pdl-general] PDL::Tranform issues Hi, Paul, This looks like a linking error. The t_

Re: [Pdl-general] PDL::Tranform issues

2022-10-19 Thread Craig DeForest
Hi, Paul, This looks like a linking error. The t_linear constructor makes use of an identity matrix generator, which is (was?) exported into the loading module as part of PDL::MatrixOps (used to be part of the whole “use PDL” sequence). That occurs on or around line 2796 of transform.pd, and

Re: [Pdl-general] PDL::Tranform issues

2022-10-19 Thread Ingo Schmid
ood...@gmail.com> *Sent: *19 October 2022 04:09 *To: *Ingo Schmid <mailto:ingo...@gmx.at> *Cc: *pdl-general@lists.sourceforge.net *Subject: *Re: [Pdl-general] PDL::Tranform issues Hi Ingo, With or without the curly braces - it's the same for me.  Also - the error happens before the map s

Re: [Pdl-general] PDL::Tranform issues

2022-10-19 Thread Ed .
lto:pdl-general@lists.sourceforge.net> Subject: Re: [Pdl-general] PDL::Tranform issues Hi Ingo, With or without the curly braces - it's the same for me. Also - the error happens before the map stage, during the call to 't_linear'. I will write a simple Bilinear Interpolation myself, I would have just

Re: [Pdl-general] PDL::Tranform issues

2022-10-18 Thread Paul Goodall
Hi Ingo, With or without the curly braces - it's the same for me. Also - the error happens before the map stage, during the call to 't_linear'. I will write a simple Bilinear Interpolation myself, I would have just preferred to use the in-built capability in 'PDL::Transform'. --- pdl> use

Re: [Pdl-general] PDL::Tranform issues

2022-10-18 Thread Ingo Schmid
Dear Paul, first, I think you do not need the curly { } around rot. Second, map needs $tr and $im. You can call it $tr->map($im) or $im->map($tr), as far as I know. With these changes, it works for me. use PDL; #use PDL::IO::; use PDL::Transform; use PDL::Graphics::Gnuplot; $im =