C# Class YAMP.Numerics.Newton

This is the so called Newton fractal.
Inheritance: Fractal
Afficher le fichier Open project: FlorianRappl/YAMP Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Newton() public méthode

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

Newton() public méthode

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

Run() public méthode

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