Usage, Compilation, Headers

| Home | Libraries | People | FAQ | More

### Usage, Compilation, Headers

odeint is a header-only library, no linking against pre-compiled code is required. It can be included by

    #include <boost/numeric/odeint.hpp>

which includes all headers of the library. All functions and classes from odeint live in the namespace

    using namespace boost::numeric::odeint;

It is also possible to include only parts of the library. This is the recommended way since it saves a lot of compilation time.

- `#include <boost/numeric/odeint/stepper/XYZ.hpp>` - the include path for all steppers, XYZ is a placeholder for a stepper.
- `#include <boost/numeric/odeint/algebra/XYZ.hpp>` - all algebras.
- `#include <boost/numeric/odeint/util/XYZ.hpp>` - the utility functions like `is_resizeable`, `same_size`, or `resize`.
- `#include <boost/numeric/odeint/integrate/XYZ.hpp>` - the integrate routines.
- `#include <boost/numeric/odeint/iterator/XYZ.hpp>` - the range and iterator functions.
- `#include <boost/numeric/odeint/external/XYZ.hpp>` - any binders to external libraries.