Numerical integration and quadrature.h


Quantum
06-10-2010, 01:59 AM
Hello,

I am totally new to numerics and thus I have some basic questions.

First of all some facts:
I am working with GNOME and use NetBeans to work with C++.

I have some experience with LabView Programming and thus I am first of all interested in the syntax of C++.

I have no experience at all with numerics.

For my first challenge I try to integrate some basic functions as described in NR3rd ยง4.2
So I think the package (is it called like that) quadrature.h is very important. But I did not find it on my computer. Do I need to download it seperatly?
Does this work like LaTex with all its packages?

Greetings,
Quantum.

MPD78
06-10-2010, 06:56 AM
Hello,

Do I need to download it seperatly?

You can either purchase the download of all of the routines or simply type the routine into your program. Be cautious with the typing as that can introduce typographical errors.

Also, make sure to use the dependency tool and make sure the #include statements are in the same order as the dependency tool displays them.

http://www.nrbook.com/nr3/

Here is a link to my post on how to use the quadrature.h routine.

http://www.nr.com/forum/showthread.php?t=1762&highlight=quadrature

Hope that helps.

Thanks
Matt