Re: problem in expression
- To: mathgroup at smc.vnet.net
- Subject: [mg99912] Re: problem in expression
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 19 May 2009 06:44:34 -0400 (EDT)
- References: <gurckc$gri$1@smc.vnet.net>
Hi, and 0 is not 0. because 0 is exact Zero while 0. is a floating point zero and can be 0.000000000000001 or 0.0000000001 Regards Jens Obaid Ur Rehman wrote: > I am wondering if some one can help me in the following problem. > > > > Whenever I solve or do some manipulation with certain matrix or vector, > it gives me result in the following form e.g. > > > > F=0.x1+0.x2+1.x3+0.x4 > > > > It is clear that F=x3 but why the expression contains multiples of > zeros. If certain vector is multiplied by zero the result should be zero > and it must not be appear in the final expression. > > > > Could you people please help me out to get rid of these zeros in the > final expression? > > Obaid > > >