Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when calculating eigenvalue matrix beyond 5x5 #55

Open
QueueHammer opened this issue Aug 12, 2014 · 2 comments
Open

Error when calculating eigenvalue matrix beyond 5x5 #55

QueueHammer opened this issue Aug 12, 2014 · 2 comments

Comments

@QueueHammer
Copy link

When I try to calculate a eigenvalue matrix for an matrix beyond 5x5 I get an error. In the test the matrix is populated entirely by 1s. This is the default case in my use case, before users would change the values of the input matrix.

Attached is an example:
http://jsbin.com/gixir/1/edit?js,console

@sloisel
Copy link
Owner

sloisel commented Aug 18, 2014

Hi. Your matrix has a repeated eigenvalue. This is a known bug.

I'll try to fix it.

On Tue, Aug 12, 2014 at 6:21 PM, Christopher Smith <notifications@github.com

wrote:

When I try to calculate a eigenvalue matrix for an matrix beyond 5x5 I get
an error. In the test the matrix is populated entirely by 1s. This is the
default case in my use case, before users would change the values of the
input matrix.

Attached is an example:
http://jsbin.com/gixir/1/edit?js,console


Reply to this email directly or view it on GitHub
#55.

Sébastien Loisel
Assistant Professor
Department of Mathematics, Heriot-Watt University
Riccarton, EH14 4AS, United Kingdom
web: http://www.ma.hw.ac.uk/~loisel/
email: S.Loisel at hw.ac.uk
phone: +44 131 451 3234
fax: +44 131 451 3249

@georglind
Copy link

If your matrix is real symmetric (hermitian), you can use the jacobi solver that I implemented in a fork of this project. It deals perfectly with repeated eigenvalues.

My fork: https://github.com/georglind/numeric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants