C# Class YAMP.Numerics.Julia

This is the (more general) Julia fractal (superset of the Mandelbrot set).
Inheritance: Fractal
显示文件 Open project: FlorianRappl/YAMP

Public Methods

Method Description
Julia ( ) : System

Creates a new Julia instance with the default number of iterations (250).

Julia ( int maxIterations ) : System

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

Julia ( int maxIterations, int colors ) : System

Creates a new instance.

Julia ( int maxIterations, int colors, double c ) : System

Creates a new instance.

Julia ( int maxIterations, int colors, double cx, double cy ) : System

Creates a new instance.

Run ( double x, double y ) : double

Calculates a single Julia value.

Method Details

Julia() public method

Creates a new Julia instance with the default number of iterations (250).
public Julia ( ) : System
return System

Julia() public method

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

Julia() public method

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

Julia() public method

Creates a new instance.
public Julia ( int maxIterations, int colors, double c ) : System
maxIterations int The maximum iterations.
colors int The number of colors.
c double Sets the coefficient in both directions.
return System

Julia() public method

Creates a new instance.
public Julia ( int maxIterations, int colors, double cx, double cy ) : System
maxIterations int The maximum iterations.
colors int The number of colors.
cx double Sets the coefficient in x direction.
cy double Sets the coefficient in y direction.
return System

Run() public method

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