Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: RFC: Getting Started with PDL (the Perl Data Language)

by lin0 (Curate)
on Feb 04, 2007 at 07:47 UTC ( #598162=note: print w/replies, xml ) Need Help??

in reply to Re: RFC: Getting Started with PDL (the Perl Data Language)
in thread RFC: Getting Started with PDL (the Perl Data Language)

Hi zentara

The core of PDL is written in the C programming language (see PDL::Internals). Fortran is only used in some libraries such as PGPLOT (used for plotting) and Slatec (used for manipulating matrices, calculate Fast Fourier Transforms, fit data using polynomials, interpolate data, etc.). About the piddles' data types, here is a table that will show you the data types already defined (in the file Basic/Core/

PDL Type Real C Type ---------- -------------- byte unsigned char short short ushort unsigned short long long int longlong long long int float float double double

Note that you can add new types as explained in the PDL documentation. You might also want to read the documentation on PDL::PP to learn how to add your own routines.

In short, I believe the computational accuracy of PDL to be closer to that of C than to the computational accuracy of Fortran.



Replies are listed 'Best First'.
Re^3: RFC: Getting Started with PDL (the Perl Data Language)
by stonecolddevin (Parson) on Feb 07, 2007 at 21:14 UTC

    Dare i ask why they decided to change the data type names? I'm assuming it has to do something with how the data type is represented in perl?


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://598162]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-08-16 00:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found