tf_mandelbrot*

Computes the Mandelbrot set over the complex domain [x_min, x_max), [y_min, y_max), discretizing the xy-space into an output of dimensions x_pixels X y_pixels. The output for each cell is the number of iterations needed to escape to infinity, up to and including the specified max_iterations.

tf_mandelbrot

SELECT * FROM TABLE(
  tf_mandelbrot( 
    x_pixels => <x_pixels>,
    y_pixels => <y_pixels>,
    x_min => <x_min>,
    x_max => <x_max>,
    y_min => <y_min>,
    y_max => <y_max>,
    max_iterations => <max_iterations>
  )
)  
Parameter
Data Type

x_pixels

32-bit integer

y_pixels

32-bit integer

x_min

DOUBLE

x_max

DOUBLE

y_min

DOUBLE

y_max

DOUBLE

max_iterations

32-bit integer

Example

tf_mandelbrot_cuda

SELECT * FROM TABLE(
  tf_mandelbrot_cuda( <x_pixels>, <y_pixels>, <x_min>, <x_max>, <y_min>, <y_max>, <max_iterations>
  )
)
Parameter
Data Type

x_pixels

32-bit integer

y_pixels

32-bit integer

x_min

DOUBLE

x_max

DOUBLE

y_min

DOUBLE

y_max

DOUBLE

max_iterations

32-bit integer

tf_mandelbrot_float

SELECT * FROM TABLE(
  tf_mandelbrot_float(<x_pixels>, <y_pixels>, <x_min>, <x_max>, <y_min>, <y_max>, <max_iterations>
  )
)
Parameter
Data Type

x_pixels

32-bit integer

y_pixels

32-bit integer

x_min

DOUBLE

x_max

DOUBLE

y_min

DOUBLE

y_max

DOUBLE

max_iterations

32-bit integer

tf_mandelbrot_cuda_float

SELECT * FROM TABLE(
  tf_mandelbrot_cuda_float( <x_pixels>, <y_pixels>, <x_min>, <x_max>, <y_min>, <y_max>, <max_iterations>
  )
)
Parameter
Data Type

x_pixels

32-bit integer

y_pixels

32-bit integer

x_min

DOUBLE

x_max

DOUBLE

y_min

DOUBLE

y_max

DOUBLE

max_iterations

32-bit integer