OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExampleTableFunctions.cpp File Reference
+ Include dependency graph for ExampleTableFunctions.cpp:

Go to the source code of this file.

Namespaces

 Mandelbrot
 

Functions

template<typename T >
TEMPLATE_INLINE int32_t Mandelbrot::mandelbrot_pixel (const T cx, const T cy, const int32_t max_iterations)
 
DEVICE double Mandelbrot::get_scale (const double domain_min, const double domain_max, const int32_t num_bins)
 
template<typename T >
TEMPLATE_NOINLINE void Mandelbrot::mandelbrot_impl (const int32_t x_pixels, const int32_t y_begin, const int32_t y_end, const T x_min, const T y_min, const T x_scale, const T y_scale, const int32_t max_iterations, Column< T > &output_x, Column< T > &output_y, Column< int32_t > &output_num_iterations)
 
template<typename T >
TEMPLATE_NOINLINE int32_t Mandelbrot::mandelbrot_cpu_template (TableFunctionManager &mgr, const int32_t x_pixels, const int32_t y_pixels, const T x_min, const T x_max, const T y_min, const T y_max, const int32_t max_iterations, Column< T > &output_x, Column< T > &output_y, Column< int32_t > &output_num_iterations)
 
EXTENSION_NOINLINE int32_t tf_mandelbrot__cpu_ (TableFunctionManager &mgr, const int32_t x_pixels, const int32_t y_pixels, const double x_min, const double x_max, const double y_min, const double y_max, const int32_t max_iterations, Column< double > &output_x, Column< double > &output_y, Column< int32_t > &output_num_iterations)
 
EXTENSION_NOINLINE int32_t tf_mandelbrot_float__cpu_ (TableFunctionManager &mgr, const int32_t x_pixels, const int32_t y_pixels, const float x_min, const float x_max, const float y_min, const float y_max, const int32_t max_iterations, Column< float > &output_x, Column< float > &output_y, Column< int32_t > &output_num_iterations)
 

Function Documentation

EXTENSION_NOINLINE int32_t tf_mandelbrot__cpu_ ( TableFunctionManager mgr,
const int32_t  x_pixels,
const int32_t  y_pixels,
const double  x_min,
const double  x_max,
const double  y_min,
const double  y_max,
const int32_t  max_iterations,
Column< double > &  output_x,
Column< double > &  output_y,
Column< int32_t > &  output_num_iterations 
)

Definition at line 220 of file ExampleTableFunctions.cpp.

230  {
231  return Mandelbrot::mandelbrot_cpu_template<double>(mgr,
232  x_pixels,
233  y_pixels,
234  x_min,
235  x_max,
236  y_min,
237  y_max,
238  max_iterations,
239  output_x,
240  output_y,
241  output_num_iterations);
242 }
EXTENSION_NOINLINE int32_t tf_mandelbrot_float__cpu_ ( TableFunctionManager mgr,
const int32_t  x_pixels,
const int32_t  y_pixels,
const float  x_min,
const float  x_max,
const float  y_min,
const float  y_max,
const int32_t  max_iterations,
Column< float > &  output_x,
Column< float > &  output_y,
Column< int32_t > &  output_num_iterations 
)

Definition at line 250 of file ExampleTableFunctions.cpp.

260  {
261  return Mandelbrot::mandelbrot_cpu_template<float>(mgr,
262  x_pixels,
263  y_pixels,
264  x_min,
265  x_max,
266  y_min,
267  y_max,
268  max_iterations,
269  output_x,
270  output_y,
271  output_num_iterations);
272 }