MathGroup Archive 2001

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

Search the Archive

RE: [Q] Cancel command in 4.1

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27699] RE: [mg27667] [Q] Cancel command in 4.1
  • From: "tgarza01 at prodigy.net.mx" <tgarza01 at prodigy.net.mx>
  • Date: Sun, 11 Mar 2001 04:04:43 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com


Try the following instead:

In[1]:=
m={{.3,.7},{.4,.6}};
 i=IdentityMatrix[2];
 j={{1},{1}}; inv=Inverse[lambda i - m];
 Map[Factor,t,3]//.(1.x_->x)

Remember that "Factor[poly] factors a polynomial over the integers", and your inv is not a polynomial.
 
Tomas Garza
Mexico City 

Original Message:
-----------------
From: Janusz Kawczak jkawczak at math.uncc.edu
To: mathgroup at smc.vnet.net
Subject: [mg27699] [mg27667] [Q] Cancel command in 4.1



Hi

I am having problems with the Cancel command to do the simple task. The
problem
can be replicated as follows:

m={{.3,.7},{.4,.6}}
i=IdentityMatrix[2]
j={{1},{1}}
inv=Inverse[lambda i - m]
Cancel[Factor[inv.j]]

The last command should cancel the common factors, but it does not!
Any help on that.
Thank you.
John.

--------------------------------------------------------------------
Mail2Web - Check your email from the web at
http://www.mail2web.com/ .



  • Prev by Date: RE: Q: plot in different colors
  • Next by Date: RE: ReadList query
  • Previous by thread: Re: [Q] Cancel command in 4.1
  • Next by thread: Re: [Q] Cancel command in 4.1