SOPT
Sparse OPTimisation
Namespaces | Functions
bisection_method.h File Reference
#include "sopt/config.h"
#include <functional>
#include <type_traits>
#include "sopt/exception.h"
#include "sopt/logging.h"
#include "sopt/types.h"
+ Include dependency graph for bisection_method.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sopt
 

Functions

template<typename K >
std::enable_if< std::is_same< t_real, K >::value, K >::type sopt::bisection_method (const K &function_value, const std::function< K(K)> &func, const K &a, const K &b, const t_real &rel_convergence=1e-4)
 Find root to a function within an interval. More...