[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Fraction-1.-ctor

Fraction Constructor

Fraction(T, T)

Initializes a new instance of Fraction<T> structure with the specified numerator and denominator.

Declaration
public Fraction(T numerator, T denominator)
Parameters
Type Name Description
T numerator

A T that indicates the number written above the line in a common fraction to indicate the number of parts of the whole.

T denominator

A T that indicats the number written below the line in a common fraction that indicates the number of parts into which one whole is divided.

Fraction(T)

Initializes a new instance of Fraction<T> structure with the specified numerator and denominator.

Declaration
public Fraction(T numerator)
Parameters
Type Name Description
T numerator

A T that indicates the number written above the line in a common fraction to indicate the number of parts of the whole.