BioCMAMC-ST
alg.hpp
1
#ifndef __COMMON_ALG_HPP__
2
#define __COMMON_ALG_HPP__
3
#include <functional>
4
#include <limits>
5
6
double
naive_newton(
const
std::function<
double
(
double
)> &f,
7
double
x_init,
8
bool
*success,
9
double
tolerance = std::numeric_limits<double>::epsilon());
10
#endif
//__COMMON_ALG_HPP__
apps
libs
common
public
common
alg.hpp
Generated by
1.12.0