Best Books for Learning Numerical Methods in C?

Click For Summary

Discussion Overview

The discussion revolves around recommendations for books on numerical methods specifically in the C programming language. Participants share their experiences with various texts and express their needs for practical implementations of numerical methods.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant requests suggestions for books on numerical methods in C.
  • Another participant recommends "Numerical Recipes in C" and mentions its availability online.
  • Some participants express dissatisfaction with existing books for lacking real C code implementations.
  • There is mention of older versions of the recommended book being available for free, but some participants note that these editions may not be in idiomatic C.
  • One participant discusses the challenge of understanding methods like bisection and implementing them in C.
  • Another participant suggests checking out libraries such as BLAS, LAPACK, and LINPACK for existing solutions to numerical problems.
  • There is a discussion about the evolution of the "Numerical Recipes" series, noting changes in code and content across editions.

Areas of Agreement / Disagreement

Participants express a range of opinions on the adequacy of available resources, with no clear consensus on which book is the best for learning numerical methods in C. Some participants agree on the value of "Numerical Recipes in C," while others highlight its limitations.

Contextual Notes

Participants mention varying experiences with the books and the challenges of translating numerical methods into C code, indicating a lack of uniformity in the resources available for learning.

Who May Find This Useful

Readers interested in numerical methods, programming in C, or those seeking resources for academic coursework in related fields may find this discussion beneficial.

laymanhobbist
Messages
29
Reaction score
2
any suggestions for a nice book regarding numerical methods in c?
 
Technology news on Phys.org
looks like a nice book ..

i have read many books with many "numerical methods" ..
but all those books lacks real c statements that does the math

thanks for the suggestion ..

let me check if this book is available anywhere for download ...
 
Older versions are available on the site for free.
 
jhae2.718 said:
Older versions are available on the site for free.
Yeah, but they are more aptly called "Numerical Methods in C-tran"
 
D H said:
Yeah, but they are more aptly called "Numerical Methods in C-tran"

"The determined Real Programmer can write FORTRAN programs in any language."
 
jhae2.718 said:
"The determined Real Programmer can write FORTRAN programs in any language."
I'm not sure that's a good thing...:eek:
 
It could be COBOL...
 
i downloaded the book from library.nu

now i have to understand methods like bisection ..

then put those methods in c statements

tough thing...
 
  • #10
laymanhobbist said:
i downloaded the book from library.nu

now i have to understand methods like bisection ..

then put those methods in c statements

tough thing...

How long have you been programming for?
 
  • #11
other than "hello world" ? nothing

this is in our syllabus ..which is why i think i am going to loose my degree
 
  • #12
I do recall a book (or series of books) that go under the title "Numerical Recipes in C". If it is at your library you may want to check it out.
 
  • #13
D H said:
Yeah, but they are more aptly called "Numerical Methods in C-
tran"

chiro said:
I do recall a book (or series of books) that go under the title "Numerical Recipes in C". If it is at your library you may want to check it out.

Same book, but each edition gets longer.

IIRC, the code in the first edition was Fortran (and more like Fortran 66 than Fortran 95). In the early (now out of print but free online) editions, the Fortran code was machine-translated into other languages, so it doesn't look much like idiomatic C, Pascal, or whatever.

On the other hand, the explanations of the algorithms are good, and the code does actually work - which is better value for money than some "free" software on offer!

In the current (not-free) editions the code has been rewritten, "OOPified", etc.
 
  • #14
laymanhobbist said:
i downloaded the book from library.nu

now i have to understand methods like bisection ..

then put those methods in c statements

tough thing...

I am not sure the numerical recipes covers it, but you might check out a number of libraries which are called -if I recollect correctly- BLAST, LAPACK, LINPACK, etc. A number of things you might want to implement might already have been solved.
 
  • #15
BLAS (not BLAST) LAPACK and LINPACK are certainly "industry standard" libraries for solving linear equations and eigensolutions, but the NR books cover a much wider range of numerical analysis topics.
 

Similar threads

Replies
6
Views
3K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K