Re: Linear Algebra `MatrixManipulation`
- To: mathgroup at smc.vnet.net
- Subject: [mg20015] Re: [mg19982] Linear Algebra `MatrixManipulation`
- From: BobHanlon at aol.com
- Date: Sat, 25 Sep 1999 02:40:43 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Robert, Use parentheses so that it applies the MatrixForm after the assignment rather than assigns the MatrixForm to the variable. (G = {{1, 2}, {3, 4}}) // MatrixForm (H = {{5, 6}, {7, 8}}) // MatrixForm G.H {{19, 22}, {43, 50}} Bob Hanlon In a message dated 9/24/1999 4:57:36 AM, scheyder at math.upenn.edu writes: >When I define two matrices such as G={{1,2},{3,4}} and H={{5,6,},{7,8}} >and >then perform an operation such as multiplication, I get the correct result. >But, if I add MatrixForm to each matrix first and then perform the >operation, the operation is not evaluated. The output is simply two >Standard Form expressions with no result. >