19extern std::map<std::string, std::vector<RootInfo>>
summary;
23 std::function<
long double(
long double,
long double,
long double,
int, std::vector<std::string> &,
int)> method_func,
24 long double a,
long double b,
long double tol,
int max_iter,
34void get_user_input(
long double &a,
long double &b,
long double &x0, std::string &method_name,
long double &tol);
41 std::function<
long double(
long double,
long double,
long double,
int, std::vector<std::string> &,
int)> method_func,
42 long double a,
long double b,
long double tol,
int max_iter);
void run_method_user_selection(const std::string &method_name, std::function< long double(long double, long double, long double, int, std::vector< std::string > &, int)> method_func, long double a, long double b, long double tol, int max_iter)
std::map< std::string, std::vector< RootInfo > > summary
void compare_all_methods()
void run_method(const std::string &method_name, std::function< long double(long double, long double, long double, int, std::vector< std::string > &, int)> method_func, long double a, long double b, long double tol, int max_iter, int decimal_places)
void get_user_input(long double &a, long double &b, long double &x0, std::string &method_name, long double &tol)
int calculate_decimal_places(long double tol)