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

Computed Mandelbrot set using the HEAVY.AI Vega demo

tf_mandelbrot_cuda

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

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

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

Last updated