I run:
from sympy import *
(a1,a2,a3,b1,b2,b3) = symbols('a1 a2 a3 b1 b2 b3')
AB = Matrix([[a1*b1,a1*b2,a1*b3],[a2*b1,a2*b2,a2*b3],[a3*b1,a3*b2,a3*b3]])
print AB
print AB.det()
and get:
[a1*b1, a1*b2, a1*b3]
[a2*b1, a2*b2, a2*b3]
[a3*b1, a3*b2, a3*b3]
0
Am I doing something wrong?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.