in reply to PDL vs C speed question

Nearly off-topic, but have you thought of using the statistics package R for some of these calculations? There is a perl module Statistics::R that implements a bridge between perl and R. Doing correlations and such in R is generally C-based, but with some vectorized optimizations for matrix operations. You might try some of your calculations to see what speed gains you might see (probably significant).

Sean

Replies are listed 'Best First'.
Re^2: PDL vs C speed question
by glwtta (Hermit) on May 09, 2005 at 12:36 UTC
    Yeah, I do use R a lot, though the last time I tested it, raw computation speed wasn't its biggest strength. A huge win for R would be a threaded implementation (I think there's work being done on this?), seeing how it already has a very parallel computation friendly syntax.

    R is pretty cumbersome to use from Perl though, I think I like the C approach better in this case.