Hi Ingo,

> I and my group use it daily for scientific use in medical imaging

Great to know.

Yes, you won’t be able to update the main pdl repo yourself. A fork is the 
“normal” way to go about this. This looks like the branch you’re working on? 
https://github.com/PDLPorters/pdl/compare/master...fantasma13:nat_complex

You’re quite right that PDLA isn’t quite ready to work off, but watch this 
space because that’s imminent.

To use your local, non-installed copy there are two ways forward. One is just 
to use it in blib:

make
perl -Mblib myscript.pl # or perl –Mblib pdl2

An alternative model is just test-driven development; make a t/complexnatives.t 
file, put in there stuff you expect to work, then run it like this:

make && prove -b t/complexnatives.t

I use the second one myself, since you then have something that will 
permanently constrain the code to work the way you specify in the tests.

Best regards,
Ed

From: Ingo Schmid<mailto:ingo...@gmx.at>
Sent: Tuesday, April 16, 2019 4:56 PM
To: pdl-devel<mailto:pdl-devel@lists.sourceforge.net>
Subject: [Pdl-devel] pdl complex support



Hi,

I'm glad to hear PDL isn't dead, it's been very quiet on the lists. I and my 
group use it daily for scientific use in medical imaging.

I have started work on native c-level complex numbers support.

I tried to push to github, but I got this error:

fatal: unable to access 'https://github.com/PDLPorters/pdl/': The requested URL 
returned error: 403

So I had to create this fork:

https://github.com/fantasma13/pdl.git

I guess this is to be expected.

It's still very much work in progress. I just managed to pass all tests. Bad 
value support is not implemented yet, that horribly failed. I have no idea if 
you can actually create a piddle yet. ;)

Essentially I created a new entry in Types.pm.PL with c type complex double and 
included complex.h. The rest was weeding through errors and extensive use of 
GenericTypes in pp_def

I am really missing proper complex number support.

Let's see where we can get that. It's based on 2.019 PDL, I looked to base on 
PDLA but since it was behind the main PDL tree I chose against.

Now I would really like to use and test the freshly made PDL from the build 
directory without having to make install it. in particular the pdl2 shell. Does 
anyone know how to do that? So far I failed.

Best wishes

Ingo





________________________________

________________________________
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to