in reply to Fast Fourier Transform in Multiple Dimensions

take a look at The Perl Data Language. last i looked it did lots of really fancy math stuff over large matrices of many dimensions.

   The PDL concept is to give standard perl5 the ability
   to COMPACTLY store and SPEEDILY manipulate the large
   N-dimensional data sets which are the bread and butter
   of scientific computing. e.g. $a=$b+$c can add two
   2048x2048 images in only a fraction of a second.