Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Your Perl 6 wishlist?

by JanneVee (Friar)
on May 24, 2005 at 11:42 UTC ( #459897=note: print w/replies, xml ) Need Help??

in reply to Your Perl 6 wishlist?

My wish is a simple one(yeah right, it isn't that simple), a powerful and robust module for statistics and math.

Replies are listed 'Best First'.
Re^2: Your Perl 6 wishlist?
by tsee (Curate) on May 25, 2005 at 17:59 UTC
    Perl isn't Mathematica, nor does it have the statistical analysis tools of C (eg. ROOT), but the Math:: namespace houses a couple of powerful tools! Anyhow, a package that can do a lot of math related things is extremely difficult to design.

      I've seen them, used them(mostly PDL) and I know that is extremely difficult to design. Further I know that perl isn't mathematica. But the nice thing about perl is that it is quite handy when you want to parse large textfiles of data and calculate something on that data without the need to break out in a separate software to do the "hard" stuff on it.

      Also, I do believe that this thread was started what we monks would wish for in Perl6 and not what is available in Perl 5. I thought that math module adapted for Perl6 would be a nice addition.

        It should be possible to build a better PDL then PDL in p6. For one thing, you have better operator overloading. Perhaps more importantly, you can create your own operators. If you want, you can create a dot-product operator, . You can create new syntax for writing row and column vectors easily -- say (- 1, 2, 3 -) and (|1, 2, 3|). You aren't bound to mearly subverting the existing language as PDL does; you can create new bits of language from whole cloth.

        Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2021-09-19 14:51 GMT
Find Nodes?
    Voting Booth?

    No recent polls found