No subject

Hinsen Konrad
Thu, 16 Nov 1995 09:34:26 -0500


   Traceback (innermost last):
     File "<stdin>", line 1, in ?
     File "/home/et/Python-1.3/Lib/", line 114, in Multiply
       return add.inner(multiply, a, b.transpose())
   Matrix.error: 1st dimension invalid

This ought to work, but Multiply() is still a bit broken.
     add.inner(multiply, a, b)
which does what you want. Multiply does the same, but first
transposes b (don't ask me why!), which produces the error

   Aha he/she thinks, b ia a row vector. So let's transpose it

This ought to work, and return b. So transpose() is also broken...

   At this point our potential user who heard really hot things about the python
   matrix class will probably not use it anymore.

At this point the matrix class is still in its early stages!

Konrad Hinsen                     | E-Mail:
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:
administrivia to: