[PYTHON MATRIX-SIG] Modules and Naming issues

Konrad Hinsen hinsen@ibs.ibs.fr
Mon, 9 Sep 96 12:04:36 +0100


> I have to admit that I don't consider Numeric.LinearAlgebra to be at all
> redundant, one of these years I'm definately going to add symbolic math to
> python if nobody beats me to it.  I also don't see the need to say import

I have also played with this idea, but I'll probably never find the time
to do it :-(

> I can't imagine ever getting used to typing:
> 
> >>> Numeric.LinearAlgebra.inverse(a)

I'd probably write

import Numeric.LinearAlgebra
LA = Numeric.LinearAlgebra
...
LA.inverse(a)

And I think this is clear enough even without a written convention
or recommendation.

Konrad.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                          | E-Mail: hinsen@ibs.ibs.fr
Laboratoire de Dynamique Moleculaire   | Tel.: +33-76.88.99.28
Institut de Biologie Structurale       | Fax:  +33-76.88.54.94
41, Ave. des Martyrs                   | Deutsch/Esperanto/English/
38027 Grenoble Cedex 1, France         | Nederlands/Francais
-------------------------------------------------------------------------------

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================