numeric.eig

153 views
Skip to first unread message

franco....@gmail.com

unread,
May 24, 2016, 12:34:41 PM5/24/16
to numericjs
C = [[1,0,0,0],[0,0,0,0],[0,0,0,1],[0,0,1,0]];

d = numeric.det(C);
OUT > 0

v = numeric.eig(C).lambda.x;
// transcript from workshop
OUT > Error: eig: internal error house@http://www.numericjs.com/lib/numeric-1.2.6.js:1361 @http://www.numericjs.com/lib/numeric-1.2.6.js:1462 @http://www.numericjs.com/lib/numeric-1.2.6.js:1402 eig@http://www.numericjs.com/lib/numeric-1.2.6.js:1480 @http://www.numericjs.com/myworker.js:34 @http://www.numericjs.com/myworker.js:34

Is this a bug? It is not so difficult to calculate the eigenvalues of  C. I don't understand what is the problem here. Anyway, numericjs is a nice library, thank you for your work!

Francesco Acanfora

Sébastien Loisel

unread,
May 24, 2016, 5:23:32 PM5/24/16
to nume...@googlegroups.com
Hi Francesco,

Thanks for your email. This is a known bug that occurs e.g. when the
eigenvalues are repeated. I'm very sorry I never got around to fixing
it! My job and my newborn meant that the difficulty in doing a whole
regression suite test and deploying safely (which would take me about
a week), has been beyond my available time. Sorry! :(
> --
> You received this message because you are subscribed to the Google Groups
> "numericjs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to numericjs+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
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
Reply all
Reply to author
Forward
0 new messages