C# Class YAMP.Numerics.Newton

This is the so called Newton fractal.
Inheritance: Fractal
Mostrar archivo Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
Newton ( ) : System

Creates a new Newton instance with the default number of iterations (32).

Newton ( int maxIterations ) : System

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

Newton ( int maxIterations, int colors ) : System

Creates a new instance.

Run ( double x, double y ) : double

Calculates a single Newton fractal value.

Method Details

Newton() public method

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

Newton() public method

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

Newton() public method

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

Run() public method

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