[PYTHON MATRIX-SIG] Linear Algebra

Hinsen Konrad hinsenk@ere.umontreal.ca
Thu, 16 Nov 1995 12:25:04 -0500

   quite right.  Please keep sending these sorts of comments so that I can  
   figure out what the linear algebra types want (except for * <-->  
   matrixMultiply) and implement it properly.

Let's start with something easy: transpose().
It should work for arrays of any rank and reverse the shape.

A useful addition would be an optional argument that is
a list (or tuple or array) representing a permutation of
range(len(x.shape)). That would allow an arbitrary reshuffling
of axes.

I'll send some comments on multiplication later. For now just
that: Multiply() and Dot() are really one and the same function,
if done correctly.

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