View Full Version : numerical methods C .. books ?
laymanhobbist
Dec2-11, 11:25 AM
any suggestions for a nice book regarding numerical methods in c?
AlephZero
Dec2-11, 12:11 PM
Get somebody to buy you this for Christmas: http://www.nr.com/
laymanhobbist
Dec2-11, 01:04 PM
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 ...
jhae2.718
Dec2-11, 04:10 PM
Older versions are available on the site for free.
Older versions are available on the site for free.
Yeah, but they are more aptly called "Numerical Methods in C-tran"
jhae2.718
Dec2-11, 04:30 PM
Yeah, but they are more aptly called "Numerical Methods in C-tran"
"The determined Real Programmer can write FORTRAN programs in any language."
"The determined Real Programmer can write FORTRAN programs in any language."
I'm not sure that's a good thing...:eek:
jhae2.718
Dec2-11, 06:58 PM
It could be COBOL...:surprised
laymanhobbist
Dec2-11, 11:04 PM
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 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?
laymanhobbist
Dec3-11, 02:57 AM
other than "hello world" ? nothing
this is in our syllabus ..
which is why i think i am going to loose my degree
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.
AlephZero
Dec3-11, 09:04 AM
Yeah, but they are more aptly called "Numerical Methods in C-
tran"
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.
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.
AlephZero
Dec3-11, 04:34 PM
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.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.