common factors in a matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg33548] common factors in a matrix
- From: Bart Vorselaars <fourteen at stack.nl>
- Date: Fri, 29 Mar 2002 06:14:02 -0500 (EST)
- Organization: Eindhoven University of Technology, The Netherlands
- Sender: owner-wri-mathgroup at wolfram.com
Hello,
When I have a matrix, say
{{(a+b)c,(a+b)d},{0,a^2-b^2}}
I know how to output it as a matrix in mathematica (MatrixForm). But how
do I display this matrix as a matrix with the common factor in front of
it, say:
(a+b)[ c d ]
[ 0 a-b ]
Thanks in advance,
Bart