Maxima Newbie Question: Matrix*Vector multiplication ?
Subject: Maxima Newbie Question: Matrix*Vector multiplication ?
From: Christiansson, G.A.V.
Date: Wed, 10 Mar 2004 11:38:47 +0100
Dear group,
I want to multiply a matrix A with a vector b, but I cannot figure out how
to do that simple operation. (I feel a bit stupid, but I have googled, and
read the Maxima Book and the help
files...)
Example:
8<-------------
load(VECT);
load(EIGEN);
A:matrix([a11,a12],[a21,a22]);
b:COLUMNVECTOR([b1,b2]);
A . b;
----------
I get:
"Circular rule attempted - TELLSIMPAFTER"
Also A*b does not work.
Do you have any ideas how to do this?
Many thanks,
Goran
-----------------------------------------
Göran Christiansson, PhD Student
Delft Biorobotics Laboratory, TU Delft
http://dbl.tudelft.nl