"Fossies" - the Fresh Open Source Software Archive

Member "laspack/html/node11.html" (13 Aug 1995, 2264 Bytes) of package /linux/privat/old/laspack.tgz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.



next up previous contents index
Next: Program mlstest Up: Optimizing and Example Previous: Program vectopt

Program matropt

 

This program matropt could be used to check efficiency of several implementations of the matrix by vector product:

  <Vector 2> = <Matrix> <Vector 1>.
The results may shown as follows:
Results:    (for dimension 100000, cycles 100)
--------

 implementation    CPU time
-----------------------------------------
    LASPack       1.967e-01 s = 100.0 %
       1          2.836e-01 s = 144.2 %
       2          2.326e-01 s = 118.3 %
       3          1.928e-01 s =  98.0 %
       4          2.005e-01 s = 101.9 %
-----------------------------------------

For details to the implementations look at the file laspack/examples/matropt/testproc.c. The current LASPack version corresponds to the implementation 3. This is, in comparison with LASPack , simplified and can be therefore a little faster.



Tomas Skalicky (skalicky@msmfs1.mw.tu-dresden.de)