Numerical Recipes - Criticism

Criticism

An early reviewer wrote, "The phrase 'numerical recipes' is bound to send the shudders down every honest numerical mathematicians spine.". He also praised, however, the authors' readiness to "go out on a limb and present their own opinions". Given the editorial style of the books, it is not surprising that they were (and to some extent remain) controversial within the numerical analysis community. Early criticism centered on the books' assumed unreliability (the First Edition indeed contained some mistakes), the exclusion of some algorithms, and the authors' implication, not always correct, that their programs were as efficient and reliable as "black-box" libraries, for example the NAG Numerical Libraries. Although not mentioning Numerical Recipes by name, Whaley et al. demonstrate that LAPACK with a highly optimized BLAS library can be an order of magnitude faster (or more) than textbook-style triply nested-loop linear-algebra routines similar to the code in Numerical Recipes. As another example, Frigo and Johnson point out that the fast Fourier transform (FFT) code in Numerical Recipes is 5–40 times slower than highly optimized programs on modern computer architectures.

A second line of criticism centers on the fact that, although printed in the books, the code is copyright by the Numerical Recipes authors, and not freely available for use under a GNU General Public License or similar open license. Indeed, one early motivation for the GNU Scientific Library was that a free library was in part needed as a substitute for Numerical Recipes. The Numerical Recipes authors have been unapologetic to this criticism. They derive income from selling individual and corporate licenses to the code, and clearly consider the Numerical Recipes enterprise as a business.

A third line of criticism centers on the coding style of the books, which strike some modern readers as "Fortran-ish", even when the actual coding language is contemporary, object-oriented C++. Some of this criticism is undoubtedly true, and due to the legacy history of parts of the code. However, the authors have defended their style as necessary to the format of the books, requiring a very terse coding style because of space limitations and for readability.

Read more about this topic:  Numerical Recipes

Famous quotes containing the word criticism:

    To be just, that is to say, to justify its existence, criticism should be partial, passionate and political, that is to say, written from an exclusive point of view, but a point of view that opens up the widest horizons.
    Charles Baudelaire (1821–1867)

    ...I wasn’t at all prepared for the avalanche of criticism that overwhelmed me. You would have thought I had murdered someone, and perhaps I had, but only to give her successor a chance to live. It was a very sad business indeed to be made to feel that my success depended solely, or at least in large part, on a head of hair.
    Mary Pickford (1893–1979)

    The critic lives at second hand. He writes about. The poem, the novel, or the play must be given to him; criticism exists by the grace of other men’s genius. By virtue of style, criticism can itself become literature. But usually this occurs only when the writer is acting as critic of his own work or as outrider to his own poetics, when the criticism of Coleridge is work in progress or that of T.S. Eliot propaganda.
    George Steiner (b. 1929)