Page 1 of 1

computation of eigenvalues in Neuron

Posted: Tue Feb 20, 2007 6:59 pm
by sabsan
Hi everybody,
I am going to write a piece of code in Neuron in which I'll need to compute the zeros of a polynomial or the eigenvalues of a nonsymmetric matrix. I checked the User Guide but it seems that Neuron just computes the eigenvalues of symmetric matrices right now. Has anybody had similar problems in the past? Maybe a solution could be a library interfaced with Neuron but I've never done it. Do you have any idea? Thanks. Bye

Posted: Wed Feb 21, 2007 6:57 am
by ted
You could write your own proc in hoc, and performance would be acceptable as long as
you only have to do it a few times and the matrix isn't too big. An alternative is to write the
code in C (with some extra bits to access hoc variables from C) and embed it in the
VERBATIM block of a mod file.