# No subject

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

```   a=Matrix([1,2,3],[2,3,4],[4,5,6])
b=ones(3)
Multiply(a,b)

Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/home/et/Python-1.3/Lib/Matrix.py", line 114, in Multiply
Matrix.error: 1st dimension invalid

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

Aha he/she thinks, b ia a row vector. So let's transpose it
b=ones(3).transpose()

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!
Patience...

-------------------------------------------------------------------------------
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