[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #29768] logm fix
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #29768] logm fix |
Date: |
Mon, 26 Jul 2010 17:35:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100716 Ubuntu/9.10 (karmic) Firefox/3.6.7 |
Follow-up Comment #18, bug #29768 (project octave):
I added the rsf2csf function call into the logm script and annotated it with
tic/toc pairs to benchmark the various sections. The modified logm is
attached.
Benchmarking on a 500x500 random matrix
Schur decomposition (real)
Elapsed time is 1.505 seconds.
rsf2csf
Elapsed time is 0.04366 seconds.
sqrtm
Elapsed time is 2.221 seconds.
Pade approximation
Elapsed time is 4.461 seconds.
Recovery
Elapsed time is 0.7695 seconds.
Overall the time on my machine went from 13 seconds to 9 seconds or about a
-30% reduction. The results also show that the next most time consuming block
which needs work is the Pade approximation.
Using the old eigenvector code the time was 2.665 seconds. I still like my
suggestion in comment #11 to split the calculation based on tolerance. If the
user desires maximal accuracy then they can wait for the Pade approximation.
Otherwise, give them something fast that they can work with.
(file #21075)
_______________________________________________________
Additional Item Attachment:
File name: logm.m Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29768>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #29768] logm fix, Marco Caliari, 2010/07/23
- [Octave-bug-tracker] [bug #29768] logm fix, Rik, 2010/07/23
- [Octave-bug-tracker] [bug #29768] logm fix, Marco Caliari, 2010/07/26
- [Octave-bug-tracker] [bug #29768] logm fix,
Rik <=
- [Octave-bug-tracker] [bug #29768] logm fix, Jaroslav Hajek, 2010/07/26
- [Octave-bug-tracker] [bug #29768] logm fix, Marco Caliari, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Jaroslav Hajek, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Marco Caliari, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Jaroslav Hajek, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Marco Caliari, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Jaroslav Hajek, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Marco Caliari, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Rik, 2010/07/27
- [Octave-bug-tracker] [bug #29768] logm fix, Rik, 2010/07/27