C# Class R3.Math.Fraction

Afficher le fichier Open project: roice3/Honeycombs Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
Fraction ( int a ) : System.Diagnostics
Fraction ( int a, int b ) : System.Diagnostics
GCD ( int a, int b ) : int
GetAsDouble ( ) : double
GetHashCode ( ) : int
Reduce ( ) : void
operator ( ) : Fraction
operator ( ) : bool

Private Methods

Méthode Description
Reverse ( ) : void

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

Fraction() public méthode

public Fraction ( int a ) : System.Diagnostics
a int
Résultat System.Diagnostics

Fraction() public méthode

public Fraction ( int a, int b ) : System.Diagnostics
a int
b int
Résultat System.Diagnostics

GCD() public méthode

public GCD ( int a, int b ) : int
a int
b int
Résultat int

GetAsDouble() public méthode

public GetAsDouble ( ) : double
Résultat double

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Reduce() public méthode

public Reduce ( ) : void
Résultat void

operator() public static méthode

public static operator ( ) : Fraction
Résultat Fraction

operator() public static méthode

public static operator ( ) : bool
Résultat bool