Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11606
| From | jdbates <batej6@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Eigensystem bug in Mathematica 7.0.1 on Windows 7 (64 bit) for |
| Date | 2012-09-04 09:47 +0000 |
| Message-ID | <k24inq$1j7$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hello all,
I seem to have encounter a bug in the Eigensystem function in Mathematica 7.0.1 for Windows 7 (64 bit).
I'm attempting to solve for the eigenvectors of a covariance function on with support on a random lattice. The process works up to 80 points in the lattice, but as soon as I include that 81st point the Eigensystem function fails (it generates spuriously negative eigenvalues and incorrect eigenvectors).
Here's an example code demonstrating this behavior:
**********************************
Cov[x_]=Exp[-x^2/a^2];
numx=81;
d=1;
a0=0.1;
xs=Table[RandomReal[{-d,d}],{n1,1,numx}]
CM=Table[Cov[xs[[n1]]-xs[[n2]]]/.{a->a0},{n1,1,numx},{n2,1,numx}];
{el,ev} = Eigensystem[CM]
**********************************
For numx <= 80, the Eigensystem command works fine. For numx > 80, it fails. This behavior seems to be independent of choice of lattice points (recomputing the xs numerous times did not change this behavior). It also seems relatively independent of the width parameter a0, although I've found that if I make a0 sufficiently small such that the covariance matrix becomes sparse then the Eigensystem function seems to work correctly.
After searching this board, I've encountered a couple of threads regarding similar issues with Eigensystem for previous versions of Mathematica, but none for 7.0.1 or later. Is this a known issue, and if so is there a workaround?
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Eigensystem bug in Mathematica 7.0.1 on Windows 7 (64 bit) for jdbates <batej6@gmail.com> - 2012-09-04 09:47 +0000 Re: Eigensystem bug in Mathematica 7.0.1 on Windows 7 (64 bit) for psycho_dad <s.nesseris@gmail.com> - 2012-09-05 07:08 +0000
csiph-web