7 #define BISECTION_HPP 1 32 #endif // BISECTION_HPP double find_upper_bracket(Func1Var const &f, double xl)
Finds an upper limit to an equation.
Class that represents a mathematical function of a single variable.
double bisection(Func1Var const &f, double xl, double xr, double tol=1e-6)
Solves a monotonous transcendental equation using the bisection method.
Scalar function of a single variable.