[Numpy-discussion] Numerical Recipes (for Python)?

Anne Archibald aarchiba@physics.mcgill...
Tue Jun 1 23:04:26 CDT 2010


On 2 June 2010 00:33, Wayne Watson <sierra_mtnview@sbcglobal.net> wrote:
> Subject is a book title from some many years ago, I wonder if it ever
> got to Python? I know there were C and Fortran versions.

There is no Numerical Recipes for python. The main reason there isn't
a NR for python is that practically everything they discuss is already
implemented as python libraries, and most of it is in numpy and/or
scipy. (Their algorithms are also not suitable for pure-python
implementation, but that's a whole other discussion.)

I should also say that while NR is justifiably famous for its
explanations of numerical issues, its code is not under a free license
(so you may not use it without the authors' permission) and many
people feel it has many bugs. The algorithms they discuss are also not
always the best available.

I generally recommend that people doing scientific programming read
all or part of NR to understand the algorithms' limitations but then
use the implementations available in
numpy/scipy/scikits/IRAF/whatever.

Anne

> --
>            Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>
>              (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
>               Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet
>
>                "Science and democracy are based on the rejection
>                "of dogma."  -- Dick Taverne, The March of Unreason
>
>
>                     Web Page:<www.speckledwithstars.net/>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the NumPy-Discussion mailing list