Class fract (o2scl)¶
-
class
o2scl
::
fract
¶ Desc.
Public Types
-
typedef boost::numeric::ublas::vector<double>
ubvector
¶
-
typedef boost::numeric::ublas::matrix<double>
ubmatrix
¶
Public Functions
-
fract
()¶
-
template<class
func_t
= nrf_funct, classmat_t
= ubmatrix, classvec_t
= ubvector, classvec2_t
= std::vector<double>, classvec2_size_t
= std::vector<size_t>, classfp_t
= double>
intnrf
(func_t &f, uniform_grid<fp_t> &gx, uniform_grid<fp_t> &gy, size_t kmax, fp_t rmax, o2scl::table3d &t3d, vec2_t &roots_x, vec2_t &roots_y, vec2_size_t &min_count, vec2_size_t &max_count)¶ Desc.
If the iteration converges to a root, then the
"root"
slice in the o2scl::table3d object is set to the index of the root (beginning with 1 not 0) and the"it"
slice in the o2scl::table3d object is set to the iteration number at which convergence was achieved. If \( x^2+y^2>r_{\mathrm{max}}^2 \) then the iteration is presumed to have diverged, then"root"
is set to -1 and"it"
is set tokmax
. If, afterkmax
iterations, the iteration has not converged, then"root"
is set to 0 and"it"
is set tokmax
.
Public Members
-
int
verbose
¶
-
typedef boost::numeric::ublas::vector<double>