>
> > I mentioned that with PDL and Matlab, you try to replace for loops with
>
> vector operations.  In PDL::PP, you specify what those vector operrations
> > should do, using loops and all, with C-like code (it eventually gets
> turned
> > into C code and gets compiled), but PDL::PP HANDLES HIGHER DIMENSIONS FOR
> > YOU, as well as multiple data types.  It is far easier to write
> > custom-rolled C-code for PDL than for Matlab.  The only problem is that
> the
> > documentation for PDL::PP is difficult to get through, assumes you're a
> PDL
> > expert, and you're willing to give the documentation a number of reads in
> > order to get it.  (By the way, the documentation that Toumas and company
> did
> > write has a nice style and covers a lot of material, but let's just say
> it's
> > not quite like reading the Camel book.)
>
> I am not sure what documentation are you referring to. Could you please
> point at it?
>

I've realized that I learned a lot about PDL by reading Karl and company's
book, which is referenced on the Main Wiki Page under the External
Resources<https://sourceforge.net/apps/mediawiki/pdl/index.php?title=Main_Page#External_Resources>.
I think that either Karl's or Craig's documents could help clarify a lot,
and since you're crunched for time Craig's intro (20 ages) is probably
better, even though it's oriented towards IDL users.  Slicing and data flow
are really fairly simple and are decently explained in Craig's writing
starting on page 11.  Threading is a bit more difficult to explain except
with trivial examples, but it basically boils down to Do What I Mean.  I
would stress dataflow as a major feature that no other numerical language
has.

As I said, the PDL::PP documentation is not a walk in the park.  You can
find all the PDL documentation here:
http://search.cpan.org/~chm/PDL-2.4.5/<http://search.cpan.org/%7Echm/PDL-2.4.5/>but
the link for PDL::PP is bad.  I don't know why.  For that, see this
link: 
http://search.cpan.org/~chm/PDL-2.4.5/Basic/Pod/PP.pod<http://search.cpan.org/%7Echm/PDL-2.4.5/Basic/Pod/PP.pod>.
(Chris, do you know what might be causing PDL::PP's link from the main page
to be bad?)

I hope that gives you a place to start.  Maybe I should write up something
on the wiki describing features of PDL that no other numerical languages
has, and put the in slightly gentler terms.  That might make things easier.

David
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to