Class fract (o2scl)

O2scl : Class List

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, class mat_t = ubmatrix, class vec_t = ubvector, class vec2_t = std::vector<double>, class vec2_size_t = std::vector<size_t>, class fp_t = double>
int nrf(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 to kmax. If, after kmax iterations, the iteration has not converged, then "root" is set to 0 and "it" is set to kmax.

Public Members

int verbose