PDA

View Full Version : mathematica


nbo10
Sep14-04, 10:02 PM
Hi All,
I'm using mathematica to solve a few NxN matrices, but the eigen(values/vectors) comes back with 0. i, which is zero but how do I evaluate it as zero so that I can do comparison, > < =, etc... Thanks

JMD

enigma
Sep14-04, 10:27 PM
I don't know exactly how to do it in mathematica, but I think you could filter out the real component and compare that.

vanesch
Sep15-04, 12:07 AM
Hi All,
I'm using mathematica to solve a few NxN matrices, but the eigen(values/vectors) comes back with 0. i, which is zero but how do I evaluate it as zero so that I can do comparison, > < =, etc... Thanks

JMD


Use Chop[] !

cheers,
Patrick