Discontinuous Galerkin Library
#include "dg/algorithm.h"
nullstelle.h File Reference

Root finding method. More...

#include <exception>
#include <math.h>
#include "backend/exceptions.h"

Go to the source code of this file.

Classes

class  dg::NoRoot1d
 Exception class, that stores boundaries for 1D root finding. More...
 

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 

Functions

template<typename UnaryOp >
int dg::bisection1d (UnaryOp &op, double &x_min, double &x_max, const double eps)
 Find a root of a 1d function \( f(x) = 0\). More...
 

Detailed Description

Root finding method.

Author
Matthias Wiesenberger
Date
12.4.2010