Code-Eli
0.3.6
|
#include <iterative_root_base.hpp>
Public Types | |
typedef convergence_tester< data__ > | error_tolerance_type |
typedef convergence_tester< size_t > | max_iteration_type |
typedef error_tolerance_type::data_type | tolerance_type |
typedef max_iteration_type::data_type | iteration_type |
Public Member Functions | |
iterative_root_base () | |
iterative_root_base (const iterative_root_base< data__ > &irb) | |
virtual | ~iterative_root_base () |
void | set_relative_tolerance (const tolerance_type &rel_tol) |
tolerance_type | get_relative_tolerance () const |
void | set_absolute_tolerance (const tolerance_type &abs_tol) |
tolerance_type | get_absolute_tolerance () const |
void | set_max_iteration (const iteration_type &mi) |
iteration_type | get_max_iteration () const |
void | enforce_both_tolerance (bool ebt) |
bool | enforce_both_tolerance () const |
void | disable_relative_tolerance () |
void | disable_absolute_tolerance () |
const error_tolerance_type & | get_tolerance_tester () const |
const max_iteration_type & | get_iteration_count_tester () const |
const iteration_type & | get_iteration_count () const |
Static Public Attributes | |
static const int | converged = 0 |
static const int | max_iteration = 1 |
static const int | no_root_found = 2 |
Protected Member Functions | |
bool | test_converged (const iteration_type &it, const tolerance_type &relv, const tolerance_type &absv) const |
bool | max_iteration_reached (const iteration_type &it) const |
Private Attributes | |
error_tolerance_type | conv |
max_iteration_type | itmax |
iteration_type | itcnt |
typedef convergence_tester<data__> eli::mutil::nls::iterative_root_base< data__ >::error_tolerance_type |
typedef max_iteration_type::data_type eli::mutil::nls::iterative_root_base< data__ >::iteration_type |
typedef convergence_tester<size_t> eli::mutil::nls::iterative_root_base< data__ >::max_iteration_type |
typedef error_tolerance_type::data_type eli::mutil::nls::iterative_root_base< data__ >::tolerance_type |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
private |
|
static |
|
mutableprivate |
|
private |
|
static |
|
static |