14 private static readonly
int hashCode = typeof(
ComplexNumbers).FullName.GetHashCode();
47 return (Obj is Complex) || (Obj is double);
51 public override bool Equals(
object obj)
Base class for all types of elements.
abstract object AssociatedObjectValue
Associated object value.
Base class for all types of fields.
Pseudo-field of Complex numbers, as an approximation of the field of real numbers.
override IAbelianGroupElement Zero
Returns the zero element of the group.
ComplexNumbers()
Pseudo-field of Complex numbers, as an approximation of the field of real numbers.
override int GetHashCode()
Calculates a hash code of the element. Hash code.
static readonly ComplexNumbers Instance
Instance of the set of complex numbers.
override ICommutativeRingWithIdentityElement One
Returns the identity element of the commutative ring with identity.
override string ToString()
override bool Equals(object obj)
Compares the element to another. If elements are equal.
override bool Contains(IElement Element)
Checks if the set contains an element.
Basic interface for all types of abelian group elements.
Basic interface for all types of commutative ring with identity elements.
Basic interface for all types of elements.