Timing matrix-matrix multiplication

Cut and paste the code in Appendix F into the file ``octtime.m'' and insert your own octave code at the two locations marked ``Place your own code here'' to compute the MFLOPS rate for matrix-matrix multiplication and solution of a linear system via LU decomposition (which requires $2 N^3/3$ operations), the same computation carried out in lapack.c. Then, start octave, and at the octave prompt, type ``more off'' so that you can see the output appear as it is computed, and then type ``octtime'' to execute the octave program. Compare to the microprocessor clock speed in /proc/cpuinfo!



Tomas Arias 2004-04-02