occ
Loading...
Searching...
No Matches
occ::core::opt::Bracket1D< Function > Struct Template Reference

#include <optimize.h>

Collaboration diagram for occ::core::opt::Bracket1D< Function >:
[legend]

Public Member Functions

void bracket_function (Function &func)
 

Public Attributes

double xa {0.0}
 
double xb {1.0}
 
double xc
 
double fa
 
double fb
 
double fc
 
double grow_limit {110.0}
 
size_t max_iter {1000}
 
size_t num_calls {0}
 

Static Public Attributes

static constexpr double golden_ratio {1.618034}
 
static constexpr double small_eps {1e-21}
 

Member Function Documentation

◆ bracket_function()

template<typename Function >
void occ::core::opt::Bracket1D< Function >::bracket_function ( Function &  func)
inline

Member Data Documentation

◆ fa

template<typename Function >
double occ::core::opt::Bracket1D< Function >::fa

◆ fb

template<typename Function >
double occ::core::opt::Bracket1D< Function >::fb

◆ fc

template<typename Function >
double occ::core::opt::Bracket1D< Function >::fc

◆ golden_ratio

template<typename Function >
constexpr double occ::core::opt::Bracket1D< Function >::golden_ratio {1.618034}
staticconstexpr

◆ grow_limit

template<typename Function >
double occ::core::opt::Bracket1D< Function >::grow_limit {110.0}

◆ max_iter

template<typename Function >
size_t occ::core::opt::Bracket1D< Function >::max_iter {1000}

◆ num_calls

template<typename Function >
size_t occ::core::opt::Bracket1D< Function >::num_calls {0}

◆ small_eps

template<typename Function >
constexpr double occ::core::opt::Bracket1D< Function >::small_eps {1e-21}
staticconstexpr

◆ xa

template<typename Function >
double occ::core::opt::Bracket1D< Function >::xa {0.0}

◆ xb

template<typename Function >
double occ::core::opt::Bracket1D< Function >::xb {1.0}

◆ xc

template<typename Function >
double occ::core::opt::Bracket1D< Function >::xc

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