Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Q: Speed of compilied eig() vs. MEX-file
Replies: 4   Last Post: Sep 27, 1996 12:06 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steve Lutes

Posts: 12
Registered: 12/7/04
Q: Speed of compilied eig() vs. MEX-file
Posted: Sep 17, 1996 10:41 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'm computing the eigenvalues of 1000 by 1000 covariance matrix and
need to speed up the process. The matrix is real, symmetric, Toeplitz
and positive definite.

Which would be faster:

(1) Compiling the eig() function to a MEX-file with array bounds
checking off, all numbers assumed real and the 'nobalance'
option
enabled,

(2) Taking the eigenvalue code from Numerical Recipes in C
(specifically routines tred2 and tqli) and making it into
a MEX-file.

Does anyone have experience with this?





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.