MathGroup Archive 1998

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

Search the Archive

Re: Matrix manipulation


  • To: mathgroup@smc.vnet.net
  • Subject: [mg12350] Re: Matrix manipulation
  • From: Paul Abbott <paul@physics.uwa.edu.au>
  • Date: Sun, 10 May 1998 02:04:32 -0400
  • Organization: University of Western Australia
  • References: <6itic7$1cv@smc.vnet.net>

Michael Chang wrote:

> I'm running Mathematica 3.1.x on Windoze 95.  Here's a simple question
> that has been bothering me recently.
> 
> Suppose I define:
> 
> a={{1,2},{3,4}};
> 
> In this case,
> 
> Inverse[a]
> 
> gives back the expected result
> 
> {{-2,1},{3/2,-1/2}}
> 
> However, suppose I now define
> 
> b=a//MatrixForm

This needs parens:

	(b=a)//MatrixForm

for otherwise b is set to the MatrixForm of a, not a itself.

I prefer to set 

	Cell | Default Output FormatType | TraditionalForm

so that matrices are displayed automatically.

Cheers,
	Paul

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907       
mailto:paul@physics.uwa.edu.au  AUSTRALIA                            
http://www.pd.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________



  • Prev by Date: Re: Some basic Help
  • Next by Date: Re: Graphics Question 2
  • Prev by thread: Re: Matrix manipulation
  • Next by thread: Re: Matrix manipulation