473,471 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Numerical methods with C++: Any book recommendations

Can anyone recommend a good book on numerical methods that presents the
subject using C++ in an ideal manner?
--
"If our hypothesis is about anything and not about some one or more
particular things, then our deductions constitute mathematics. Thus
mathematics may be defined as the subject in which we never know what we
are talking about, nor whether what we are saying is true." - Bertrand
Russell

Jul 22 '05 #1
14 1715
Steven T. Hatton wrote:
Can anyone recommend a good book on numerical methods that presents the
subject using C++ in an ideal manner?


You need to define "ideal manner".

I used "Scientific and Engineering C++" in some of my work. Liked it.

V
Jul 22 '05 #2
Victor Bazarov wrote:
Steven T. Hatton wrote:
Can anyone recommend a good book on numerical methods that presents the
subject using C++ in an ideal manner?


You need to define "ideal manner".

I used "Scientific and Engineering C++" in some of my work. Liked it.

V


I mean there are few if any macros, and the following are used effectively:
compositors, gslices, valarrays, overloaded operator[] for indexing
multidimensional structures (tensors). The code should be clear concise and
efficient. The code should be object oriented, but should probably use
dynamic typing sparingly.

One area in particular I would like a good discussion of is indexing, and
particularly the indexing of tensors using gslices.
--
"If our hypothesis is about anything and not about some one or more
particular things, then our deductions constitute mathematics. Thus
mathematics may be defined as the subject in which we never know what we
are talking about, nor whether what we are saying is true." - Bertrand
Russell

Jul 22 '05 #3
Steven T. Hatton wrote:
Victor Bazarov wrote:

Steven T. Hatton wrote:
Can anyone recommend a good book on numerical methods that presents the
subject using C++ in an ideal manner?


You need to define "ideal manner".

I used "Scientific and Engineering C++" in some of my work. Liked it.

V

I mean there are few if any macros, and the following are used effectively:
compositors, gslices, valarrays, overloaded operator[] for indexing
multidimensional structures (tensors). The code should be clear concise and
efficient. The code should be object oriented, but should probably use
dynamic typing sparingly.

One area in particular I would like a good discussion of is indexing, and
particularly the indexing of tensors using gslices.


I think you have a good idea what such a book would look like and what it
should contain. Now, all you have to do is write it and find a publisher.
Or find a publisher and write it. Whichever.

Remember this, though: good, clean, efficient, code is hard to come by,
and usually costs a lot [to produce]. So, if, say, I have a clean,
efficient way of working with tensors using gslices, why would I simply
put it in a book when I can put it in a library and sell it?

It's your choice. You can keep dreaming of finding all you need in some
book that presents it in an ideal manner or start working with what you've
got.

V
Jul 22 '05 #4
Steven T. Hatton wrote:
Can anyone recommend a good book on numerical methods
that presents the subject using C++ in an ideal manner?


Have you tried
The Object-Oriented Numerics Page?

http://www.oonumerics.org/oon/
Jul 22 '05 #5
In article <4s********************@speakeasy.net>,
"Steven T. Hatton" <su******@setidava.kushan.aa> wrote:
Can anyone recommend a good book on numerical methods that presents the
subject using C++ in an ideal manner?


Can't say if it uses C++ in the "ideal manner" or not, but for getting
real work done (and done correctly) this:

http://www.numerical-recipes.com/cpp-blurb.html

is the canonical reference.

- Jeff
Jul 22 '05 #6
Jeff Greenberg wrote:
Can't say if it uses C++ in the "ideal manner" or not, but for getting
real work done (and done correctly) this:

http://www.numerical-recipes.com/cpp-blurb.html

is the canonical reference.

I can't vouch for the CPP version of this book, but if it's not
vastly improved over the C version we have, it's not worth dealing
with. While the recipes are "correct" in that they will give
the right answers, the algoritms are frequently far from optimal
and the C coding is frequently horrid.
Jul 22 '05 #7
In message <41***********************@news.newshosting.com> , Ron Natalie
<ro*@sensor.com> writes
Jeff Greenberg wrote:
Can't say if it uses C++ in the "ideal manner" or not, but for
getting real work done (and done correctly) this:
http://www.numerical-recipes.com/cpp-blurb.html is the canonical
reference.

I can't vouch for the CPP version of this book, but if it's not
vastly improved over the C version we have, it's not worth dealing
with. While the recipes are "correct" in that they will give
the right answers, the algoritms are frequently far from optimal
and the C coding is frequently horrid.


Also you're recommended to read the licensing terms very carefully
before incorporating anything (even an idea!) from this book in
deliverable code.

--
Richard Herring
Jul 22 '05 #8
Also you're recommended to read the licensing terms very carefully
before incorporating anything (even an idea!) from this book in
deliverable code.

;-D
-JKop

Jul 22 '05 #9
Richard Herring wrote:

Also you're recommended to read the licensing terms very carefully
before incorporating anything (even an idea!) from this book in
deliverable code.


You can't copyright ideas.
Jul 22 '05 #10
Ron Natalie wrote:
Richard Herring wrote:

Also you're recommended to read the licensing terms very carefully
before incorporating anything (even an idea!) from this book in
deliverable code.


You can't copyright ideas.

No, but I intend to apply for a patten the numeric value Pi.
--
"If our hypothesis is about anything and not about some one or more
particular things, then our deductions constitute mathematics. Thus
mathematics may be defined as the subject in which we never know what we
are talking about, nor whether what we are saying is true." - Bertrand
Russell

Jul 22 '05 #11
In message <41***********************@news.newshosting.com> , Ron Natalie
<ro*@sensor.com> writes
Richard Herring wrote:
Also you're recommended to read the licensing terms very carefully
before incorporating anything (even an idea!) from this book in
deliverable code.


You can't copyright ideas.


Who said anything about copyright?

--
Richard Herring
Jul 22 '05 #12
Richard Herring wrote:
In message <41***********************@news.newshosting.com> , Ron Natalie
<ro*@sensor.com> writes
Richard Herring wrote:
Also you're recommended to read the licensing terms very carefully
before incorporating anything (even an idea!) from this book in
deliverable code.

You can't copyright ideas.

Who said anything about copyright?


The introduction to the book (I assumed that's what we're talking about).
Jul 22 '05 #13
In message <41***********************@news.newshosting.com> , Ron Natalie
<ro*@sensor.com> writes
Richard Herring wrote:
In message <41***********************@news.newshosting.com> , Ron
Natalie <ro*@sensor.com> writes
Richard Herring wrote:

Also you're recommended to read the licensing terms very carefully
before incorporating anything (even an idea!) from this book in
deliverable code.

You can't copyright ideas.

Who said anything about copyright?


The introduction to the book (I assumed that's what we're talking about).


I was thinking of this:

http://www.numerical-recipes.com/inf...ml#licenseinfo

which is about purchase of licenses to "use" the "software", whatever
those terms mean in that context. You'd need a lawyer to find out.

(I was also being slightly facetious, so let's not drag this any further
off topic.)

--
Richard Herring
Jul 22 '05 #14
Richard Herring wrote:
I was thinking of this:

http://www.numerical-recipes.com/inf...ml#licenseinfo

which is about purchase of licenses to "use" the "software", whatever
those terms mean in that context. You'd need a lawyer to find out.

(I was also being slightly facetious, so let's not drag this any further
off topic.)


Which still is copyright issues. The license gives you the
authorization to make the copies. No intellectual property
rights other than simple copyright are asserted.
Jul 22 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rob Miller | last post by:
A new book with a numerical library in Java was published in August 2003. Title: "A Numerical Library in Java for Scientists and Engineers" Author: Hang T. Lau ISBN: 1584884304 Published date:...
99
by: David MacQuigg | last post by:
I'm not getting any feedback on the most important benefit in my proposed "Ideas for Python 3" thread - the unification of methods and functions. Perhaps it was buried among too many other less...
81
by: Jonas Smithson | last post by:
I recently read the claim somewhere that numerical entities (such as —) have a speed advantage over the equivalent named entities (such as &mdash;) because the numerical entity requires just a...
8
by: Parts Manager | last post by:
Hello All, I would like a couple of book recommendations to get a jump start on Access and to gain some knowledge on Access. I have a few years in programming Basics, then to PDS 7.0, then...
4
by: Mike | last post by:
Hi, I am planning on purchasing VS2005 to learn C# very soon, and I need good book recommendations. I realize this is a question that may be asked a lot, but please consider my background: I...
7
by: Tenacious | last post by:
I have been programming using C# for over a year now and I still wonder what is the importance of using accessor methods when the property is read-write. It seems easier to just make it a public...
23
by: Abhi | last post by:
Hi.. I wanted the C source code in machine readable format for the book "Numerical Recipes in C". I got hold of the pdf version of the book somehow. Does anyone have the complete C code of the...
1
by: j.f.c.neves | last post by:
Hello, I need some help in using the rlft3 (Numerical Recipes in c++ book, Chapter 12) to apply a Gaussian smoothing to a 2D image. How do I create a suitable filter function (page 535)? ...
10
by: SusanV | last post by:
Time to learn something new, anyone have any recommendations for a good reference book on ASP.Net? Also recommendations on AJAX would be most welcome. TIA, SusanV
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.