Matrix operations Was: parallel cell executing and wxmaxima
Subject: Matrix operations Was: parallel cell executing and wxmaxima
From: Alexander Klimov
Date: Sun, 10 Jun 2012 10:53:58 +0300
On Sat, 9 Jun 2012, Richard Hennessy wrote:
> As a start, I suggested just writing matrix multiplication as a
> parallel code process. I thought that would not be hard. It is
> true, it would not be. I have written code in C++ that is parallel
> and it is not too hard.
IIUC, Maxima was never designed for fast matrix operations, matrices
are even stored as lists of lists instead of arrays (probably there
were no arrays in Lisp when src/matrix.lisp was first written), thus
if one wants to work with huge numeric matrices he should use BLAS
(maybe thru Octave, etc.), not Maxima.
BTW, it is not hard to write some parallel code, it is much harder to
write really *efficient* code even for matrix multiplication.
--
Regards,
ASK