Re: Why does Inverse[M] hesitate?
- To: mathgroup at smc.vnet.net
- Subject: [mg54620] Re: Why does Inverse[M] hesitate?
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Thu, 24 Feb 2005 03:21:23 -0500 (EST)
- Organization: Uni Leipzig
- References: <cv6t0c$6re$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, remove the MatrixForm[], it is just a wrapper for display, and not to indicate that you have a matrix. If you would like to see a list of lists as matrix switch the default ouptut format to TraditionalForm[] Regards Jens "Skirmantas" <skirmantas.janusonis at yale.edu> schrieb im Newsbeitrag news:cv6t0c$6re$1 at smc.vnet.net... > The Inverse function sometimes calculates the inverse of a matrix > immediately, sometimes it does not. Try this example in Mathematica > 5.1: > > A={{(1-g)-1,1},{-w P(1-g)/C,-1}}//MatrixForm > B={{0},{-P(w+1)}}//MatrixForm > > I get > Out: Inverse[(expanded A)].(expanded B) > > If I do just > A={{a,b},{c,d}} > B={{e},{f}} > Inverse[A].B > > I get the final correct result. >