Num Recipes in C (Index converter or Diffs)
James Darrell McCauley
jdm5548 at tamsun.tamu.edu
Sat Apr 6 12:48:29 AEST 1991
Numerical Recipes in C is a great book (praise, praise, praise),
but, if any of you have ever tried to use their code, I'll bet
you can guess what really ticks me off about it.... It seems
that FORTRAN programmers wrote the C code 'cause all array indices
start at 1 instead of 0 (zero).
I bought the source from Cambridge, but rarely use it because of
the confusion. Does anyone have
1) a filter that will "fix" all of the code (this would probably
be very difficult to write), or
2) information on diffs, or
3) information on a newer release of the code distributed by
the publisher.
While I'm in the question asking mode, does anyone have code to
find eigenvalues for nonsymetrical matrices that I could distribute
in a program that I'm writing? I've seen discussions about the
copyright of the code in Num. Recipes but forgot what the general
conclusion programmers reached concerning incorporating it
in programs that will be made available to the general public.
(distributing other folks libraries with my program is NOT an
option. I'm only looking for source in C (!= FORTRAN) that
I can easily extract (in case your thinking of mentioning
some big package that won't allow me to do this).
Email only, please. Thanks.
--
James Darrell McCauley (jdm5548 at diamond.tamu.edu, jdm5548 at tamagen.bitnet)
Spatial Analysis Lab, Department of Agricultural Engineering,
Texas A&M University, College Station, Texas 77843-2117, USA
More information about the Comp.lang.c
mailing list