![]() |
SOPT
Sparse OPTimisation
|
#include "sopt/config.h"
#include <functional>
#include <type_traits>
#include "sopt/exception.h"
#include "sopt/logging.h"
#include "sopt/types.h"
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... | |