Beispiel #1
0
 /// <summary>
 /// Copies a complex number to keep it ComplexNumber class
 /// </summary>
 /// <returns></returns>
 public new ComplexNumber Copy()
 => Number.Copy(this) as ComplexNumber;
 /// <summary>
 /// Safely copies this
 /// </summary>
 /// <returns></returns>
 public new IntegerNumber Copy()
 => Number.Copy(this) as IntegerNumber;
Beispiel #3
0
 public new RealNumber Copy()
 => Number.Copy(this) as RealNumber;
Beispiel #4
0
 /// <summary>
 /// Safely copies the instance of a Number
 /// </summary>
 /// <returns></returns>
 public new RationalNumber Copy()
 => Number.Copy(this) as RationalNumber;
Beispiel #5
0
 /// <summary>
 /// Copies a Number with respect due to its hierarchy type, but without implicit downcasting
 /// </summary>
 /// <returns>
 /// Safely copied instance of Number
 /// </returns>
 public Number Copy()
 => Number.Copy(this);