FASTER NUMERICAL ALGORITHMS VIA EXCEPTION HANDLING

Authors
Citation
Jw. Demmel et Xy. Li, FASTER NUMERICAL ALGORITHMS VIA EXCEPTION HANDLING, I.E.E.E. transactions on computers, 43(8), 1994, pp. 983-992
Citations number
19
Categorie Soggetti
Computer Sciences","Engineering, Eletrical & Electronic","Computer Science Hardware & Architecture
ISSN journal
00189340
Volume
43
Issue
8
Year of publication
1994
Pages
983 - 992
Database
ISI
SICI code
0018-9340(1994)43:8<983:FNAVEH>2.0.ZU;2-8
Abstract
An attractive paradigm for building fast numerical algorithms is the f ollowing: 1) try a fast but occasionally unstable algorithm, 2) test t he accuracy of the computed answer, and 3) recompute the answer slowly and accurately in the unlikely event it is necessary. This is especia lly attractive on parallel machines where the fastest algorithms may b e less stable than the best serial algorithms. Since unstable algorith ms can overflow or cause other exceptions, exception handling is neede d to implement this paradigm safely. To implement it efficiently, exce ption handling cannot be too slow. We illustrate this paradigm with nu merical linear algebra algorithms from the LAPACK library.