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