Next: About this document ...
Up: Scientific Subroutine Packages
Previous: Compiling and Linking with the Packages

Skepticism is Healthy

Whenever you use a subroutine coded by someone else (or even yourself, for that matter) it is a very good idea to verify that it works as expected. In this way you can guard against a number of errors, such as choosing an inappropriate algorithm, misunderstanding the calling sequence, and outright bugs in the subroutine. Thus, when we wrote a procedure for solving a tridiagonal system, we also wrote a procedure for substituting the answer into the equation to check that the solution was indeed correct. Another method is to try a number of representative test cases with known answers.


Next: About this document ...
Up: Scientific Subroutine Packages
Previous: Compiling and Linking with the Packages

Carleton DeTar