Matrix operations
David Ascher
da at ski.org
Thu May 27 12:54:18 EDT 1999
On Thu, 27 May 1999, Felix Puetsch wrote:
> How do I implement best matrix operations? Is using some sort of
> dictionary the best way? Or should it rather be done with lists and
> some 2D-to-linear index transformation [ (i,j)->(n*i+j) ] ?
If you're going to do serious math, you should look into the Numeric
extension described (and available from)
http://www.python.org/topics/scicomp/numpy.html
Matrix multiplication is one of the features of that package.
--david ascher
More information about the Python-list
mailing list