MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Linear Algebra `MatrixManipulation`

  • To: mathgroup at
  • Subject: [mg20015] Re: [mg19982] Linear Algebra `MatrixManipulation`
  • From: BobHanlon at
  • Date: Sat, 25 Sep 1999 02:40:43 -0400
  • Sender: owner-wri-mathgroup at


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


{{19, 22}, {43, 50}}

Bob Hanlon

In a message dated 9/24/1999 4:57:36 AM, scheyder at writes:

>When I define two matrices such as G={{1,2},{3,4}}  and H={{5,6,},{7,8}}
>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.

  • Prev by Date: Re: MathLink String type
  • Next by Date: Variables[] in general expressions
  • Previous by thread: Linear Algebra `MatrixManipulation`
  • Next by thread: Re: Linear Algebra `MatrixManipulation`