home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13396 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.2 KB

  1. Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!agate!agate!matt
  2. From: matt@physics2.berkeley.edu (Matt Austern)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Numerical Recipes in C++?
  5. Message-ID: <MATT.92Sep8111708@physics2.berkeley.edu>
  6. Date: 8 Sep 92 18:17:08 GMT
  7. References: <SINAI.92Aug11105913@biltong.sono.uucp>
  8.     <xeno.713564280@pv6f05.vincent.iastate.edu>
  9.     <l9ba7lINN3re@almaak.usc.edu> <1992Sep1.124716.29134@eua.ericsson.se>
  10. Reply-To: matt@physics.berkeley.edu
  11. Organization: Lawrence Berkeley Laboratory (Theoretical Physics Group)
  12. Lines: 31
  13. NNTP-Posting-Host: physics2.berkeley.edu
  14. In-reply-to: euamts@eua.ericsson.se's message of 1 Sep 92 12:47:16 GMT
  15.  
  16. In article <1992Sep1.124716.29134@eua.ericsson.se> euamts@eua.ericsson.se (Mats Henricson) writes:
  17.  
  18. > >NR in C++ is due within a few months.
  19. > This pisses me off considerbly!! I had my local computer bookstore
  20. > call Cambridge University Press to ask them if they had a C++ version
  21. > coming up, and they replied NO. So, I bought the C-version. Now I have
  22. > to put up even more cash when the new version comes, and I tell you,
  23. > the book isn't cheap...
  24.  
  25. The real question: will _Numerical Recipes in C++_ really be in C++,
  26. or just in C with a few extras?  That is: will it really be a book
  27. about object-oriented numerical programming?
  28.  
  29. My guess is that it won't be.  If you look at the "C" code in
  30. _Numerical Recipes in C_, its FORTRAN origins are very obvious; the
  31. essential style of the code was unchanged.  I doubt that the authors
  32. will really want to do the massive redesign job of making all of their
  33. code oriented.  I would guess that they will use inline functions
  34. instead of macros for square() and cube(), and that they will use
  35. matrix and complex number classes instead of the constructs they
  36. presently have, and that will be just about that.
  37.  
  38. In other words: if you have a C++ compiler, all of the code in
  39. _Numerical Recipes in C_ will work.  I doubt if you can expect much
  40. more than that from _Numerical Recipes in C++_.
  41. --
  42. Matthew Austern                   Just keep yelling until you attract a
  43. (510) 644-2618                    crowd, then a constituency, a movement, a
  44. austern@lbl.bitnet                faction, an army!  If you don't have any
  45. matt@physics.berkeley.edu         solutions, become a part of the problem!
  46.