in reply to Re^3: Which pdl orientation saves memory
in thread Which pdl orientation saves memory

I'm not sure whether or not I will even be using any threading in the work I'll be doing. I'm mainly using PDL just so I can use matrix multiplication to make my equations simpler. However, I will keep your suggestion in mind, since I may end up using threading if possible to increase speed.
  • Comment on Re^4: Which pdl orientation saves memory

Replies are listed 'Best First'.
Re^5: Which pdl orientation saves memory
by BrowserUk (Patriarch) on Aug 22, 2007 at 17:03 UTC

    Note: The 'threading' I mentioned is not threading in the sense of multi-tasking, but rather implicit looping. Applying a single equation to a whole piddle, or slice of a piddle. The looping occurs within the PDL libraries rather than explicitly within your Perl program. This is where the greatest benefits of using PDL occur.

    See the appropriate section of PDL::Indexing for more information.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.