vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
Public Types | Public Member Functions | Public Attributes | List of all members
mandelbrot_functor Struct Reference
Inheritance diagram for mandelbrot_functor:
vspline::unary_functor< coordinate_type, int > vspline::unary_functor_tag< vspline::vector_traits< coordinate_type > ::size >

Public Types

typedef vspline::unary_functor< coordinate_type, int > base_type
 
- Public Types inherited from vspline::unary_functor< coordinate_type, int >
enum  
 
enum  
 
enum  
 
typedef coordinate_type in_type
 
typedef int out_type
 
typedef vspline::vector_traits< coordinate_type >::ele_type in_ele_type
 
typedef vspline::vector_traits< int >::ele_type out_ele_type
 
typedef vigra::TinyVector< in_ele_type, dim_inin_nd_ele_type
 
typedef vigra::TinyVector< out_ele_type, dim_outout_nd_ele_type
 
typedef vector_traits< coordinate_type, vsize >::ele_v in_ele_v
 a simdized type of the elementary type of result_type, which is used for coefficients and results. this is fixed via the traits class vector_traits (in vector.h). Note how we derive this type using vsize from the template argument, not what vspline::vector_traits deems appropriate for ele_type - though both numbers will be the same in most cases. More...
 
typedef vector_traits< int, vsize >::ele_v out_ele_v
 
typedef vector_traits< coordinate_type, vsize >::nd_ele_v in_nd_ele_v
 
typedef vector_traits< int, vsize >::nd_ele_v out_nd_ele_v
 
typedef vector_traits< coordinate_type, vsize >::type in_v
 vectorized in_type and out_type. vspline::vector_traits supplies these types so that multidimensional/multichannel data come as vigra::TinyVectors, while 'singular' data won't be made into TinyVectors of one element. More...
 
typedef vector_traits< int, vsize >::type out_v
 
typedef vector_traits< int, vsize >::ele_v ic_v
 vsize wide vector of ints, used for gather/scatter indexes More...
 

Public Member Functions

void eval (const coordinate_type &c, int &m) const
 
void eval (const crd_v &c, int_v &m) const
 

Public Attributes

const int max_iterations = 255
 
const double threshold = 1000.0
 

Additional Inherited Members

- Static Public Attributes inherited from vspline::unary_functor< coordinate_type, int >
static const bool has_capped_eval
 

Detailed Description

Definition at line 74 of file mandelbrot.cc.

Member Typedef Documentation

◆ base_type

Definition at line 78 of file mandelbrot.cc.

Member Function Documentation

◆ eval() [1/2]

void mandelbrot_functor::eval ( const coordinate_type c,
int &  m 
) const
inline

Definition at line 88 of file mandelbrot.cc.

◆ eval() [2/2]

void mandelbrot_functor::eval ( const crd_v c,
int_v m 
) const
inline

Definition at line 105 of file mandelbrot.cc.

Member Data Documentation

◆ max_iterations

const int mandelbrot_functor::max_iterations = 255

Definition at line 82 of file mandelbrot.cc.

◆ threshold

const double mandelbrot_functor::threshold = 1000.0

Definition at line 83 of file mandelbrot.cc.


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