[PYTHON MATRIX-SIG] linear algebra
Konrad HINSEN
hinsenk@ere.umontreal.ca
Mon, 19 Aug 1996 13:10:47 -0400
> Just to throw in a suggestion let me tell what the Ada95 standard does to
> work around this problem. In Ada95 the compiler has to have a
> " pragma Convention (Fortran, Fortran_Matrix);" which changes the way
> an array is actually stored in memory.
> For the programmer there is no change at all, the compiler takes care of all
> necessary changes to make the array Fortran as well as Ada compatible.
>
> Would this be possible in python without a serious perfomance overhead ?
One could have a second kind of array object that used Fortran conventions
for storage and inverts indexing. But I doubt that this is worth the
effort.
Konrad.
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: hinsenk@ere.umontreal.ca
Departement de chimie | Tel.: +1-514-343-6111 ext. 3953
Universite de Montreal | Fax: +1-514-343-7586
C.P. 6128, succ. Centre-Ville | Deutsch/Esperanto/English/Nederlands/
Montreal (QC) H3C 3J7 | Francais (phase experimentale)
-------------------------------------------------------------------------------
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================