C# Class YAMP.Numerics.Mandelbrot

Creates the class for evaluating a mandelbrot function.
Inheritance: Fractal
Datei anzeigen Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
Mandelbrot ( ) : System

Creates a new mandelbrot instance with the default number of iterations (255).

Mandelbrot ( int maxIterations ) : System

Creates a new mandelbrot instance with the default number of colors (25).

Mandelbrot ( int maxIterations, int colors ) : System

Creates a new instance.

Run ( double x, double y ) : double

Calculates a single mandelbrot value.

Method Details

Mandelbrot() public method

Creates a new mandelbrot instance with the default number of iterations (255).
public Mandelbrot ( ) : System
return System

Mandelbrot() public method

Creates a new mandelbrot instance with the default number of colors (25).
public Mandelbrot ( int maxIterations ) : System
maxIterations int The number of iterations.
return System

Mandelbrot() public method

Creates a new instance.
public Mandelbrot ( int maxIterations, int colors ) : System
maxIterations int The maximum iterations.
colors int The number of colors.
return System

Run() public method

Calculates a single mandelbrot value.
public Run ( double x, double y ) : double
x double The x value.
y double The y value.
return double