icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Functions
zeros.hpp File Reference
#include "defs.h"
#include <complex>
#include <functional>
#include "error.hpp"
Include dependency graph for zeros.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 icedb
 
 icedb::zeros
 

Functions

double icedb::zeros::findzero (double a, double b, const std::function< double(double) > &evaltarget)
 Zero-finding implementation - Brent's method. More...
 
template<class T , class U >
icedb::zeros::secantMethod (const T &f, U guess_a, U guess_b, double eps=0.000001, size_t maxIter=50)