occ
Loading...
Searching...
No Matches
occ::core::opt::LineSearch< Function > Class Template Reference

#include <optimize.h>

Public Member Functions

 LineSearch (Function &func, double tol=1e-8, size_t maxiter=500)
 
const auto num_calls () const
 
double xmin ()
 
double f_xmin ()
 
void set_left (double x)
 
double left () const
 
void set_right (double x)
 
double right () const
 
void set_guess (double x)
 
double guess () const
 

Constructor & Destructor Documentation

◆ LineSearch()

template<class Function >
occ::core::opt::LineSearch< Function >::LineSearch ( Function &  func,
double  tol = 1e-8,
size_t  maxiter = 500 
)
inline

Member Function Documentation

◆ f_xmin()

template<class Function >
double occ::core::opt::LineSearch< Function >::f_xmin ( )
inline

◆ guess()

template<class Function >
double occ::core::opt::LineSearch< Function >::guess ( ) const
inline

◆ left()

template<class Function >
double occ::core::opt::LineSearch< Function >::left ( ) const
inline

◆ num_calls()

template<class Function >
const auto occ::core::opt::LineSearch< Function >::num_calls ( ) const
inline

◆ right()

template<class Function >
double occ::core::opt::LineSearch< Function >::right ( ) const
inline

◆ set_guess()

template<class Function >
void occ::core::opt::LineSearch< Function >::set_guess ( double  x)
inline

◆ set_left()

template<class Function >
void occ::core::opt::LineSearch< Function >::set_left ( double  x)
inline

◆ set_right()

template<class Function >
void occ::core::opt::LineSearch< Function >::set_right ( double  x)
inline

◆ xmin()

template<class Function >
double occ::core::opt::LineSearch< Function >::xmin ( )
inline

The documentation for this class was generated from the following file: