Class min_brent_boost (o2scl)¶
-
template<class func_t = funct>
class min_brent_boost : public o2scl::min_bkt_base<funct>¶ One-dimensional minimization using Brent’s method (GSL)
This is a wrapper for
boost::math::tools::brent_find_minima()
.The value of fourth argument,
digits
is taken to be \( - \log_{10}(t) \) where \( t \) is the value of o2scl::min_base::tol_rel .Public Functions
-
inline min_brent_boost()¶
-
inline virtual ~min_brent_boost()¶
-
inline virtual int min_bkt(double &x2, double x1, double x3, double &fmin, func_t &func)¶
Calculate the minimum
fmin
offunc
withx2
bracketed betweenx1
andx3
.The initial value of
x2
is ignored.
-
inline virtual const char *type()¶
Return string denoting type (“min_brent_boost”)
-
inline min_brent_boost()¶