Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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/Types.pm.PL):

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.

Cheers,

lin0


Comment on Re^2: RFC: Getting Started with PDL (the Perl Data Language)
Download Code
Re^3: RFC: Getting Started with PDL (the Perl Data Language)
by stonecolddevin (Vicar) 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?

    meh.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-12-25 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls