| 1 | initial version |
You want to factor A's elements :
sage: A.apply_map(factor)
[ a11 a12 b1]
[ 0 -(a12*a21 - a11*a22)/a11 -(a21*b1 - a11*b2)/a11]
(ask.agemath.org's Mathjiax interpreter won't display this matrix correctly...).
HTH,
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.