106 return base.CompareTo(obj);
117 return new DoubleLiteral(Typed.ComparableValue *
this.ComparableValue);
143 return new DoubleLiteral(Typed.ComparableValue *
this.ComparableValue);
191 return new DoubleLiteral(Typed.ComparableValue +
this.ComparableValue);
Represents a double literal.
static readonly DoubleLiteral OneInstance
Double value 1.0
static readonly DoubleLiteral ZeroInstance
Double value 0.0
Abstract base class for semantic literal values.
string StringValue
String representation of value.
object Value
Parsed value.
Abstract base class for semantic literal numeric values.
IEuclidianDomain AssociatedEuclidianDomain
Associated Euclidian Domain.
virtual ICommutativeRingElement Multiply(ICommutativeRingElement Element)
Tries to multiply an element to the current element.
override IRing AssociatedRing
Associated Ring.
abstract double ComparableValue
Comparable numeric value.
SemanticNumericLiteral()
Abstract base class for semantic literal numeric values.
IField AssociatedField
Associated Field.
ICommutativeRing AssociatedCommutativeRing
Associated Commutative Ring.
SemanticNumericLiteral(object Value, string StringValue)
Abstract base class for semantic literal values.
override ISemiGroupElement AddLeft(ISemiGroupElement Element)
Tries to add an element to the current element, from the left.
override IAbelianGroupElement Zero
Returns the zero element of the group.
override IGroupElement Negate()
Negates the element.
override IGroup AssociatedGroup
Associated Group.
override ISemiGroup AssociatedSemiGroup
Associated Semi-Group.
override ISemiGroupElement AddRight(ISemiGroupElement Element)
Tries to add an element to the current element, from the right.
override IRingElement MultiplyLeft(IRingElement Element)
Tries to multiply an element to the current element, from the left.
override IAbelianGroup AssociatedAbelianGroup
Associated Abelian Group.
override IRingElement Invert()
Inverts the element, if possible.
override int CompareTo(object obj)
Compares the current instance with another object of the same type and returns an integer that indica...
ICommutativeRingWithIdentityElement One
Returns the identity element of the commutative ring with identity.
override IRingElement MultiplyRight(IRingElement Element)
Tries to multiply an element to the current element, from the right.
IIntegralDomain AssociatedIntegralDomain
Associated Integral Domain.
override IAbelianGroupElement Add(IAbelianGroupElement Element)
Tries to add an element to the current element.
ICommutativeRingWithIdentity AssociatedCommutativeRingWithIdentity
Associated Commutative Ring With Identity.
Set of semantic numeric literals.
static readonly SemanticNumericLiterals Instance
Instance reference to the set of semantic numeric literals.
Base class for all types of elements.
Basic interface for all types of abelian group elements.
Basic interface for all types of commutative ring elements.
Basic interface for all types of commutative ring with identity elements.
Basic interface for all types of field elements.
Basic interface for all types of group elements.
Basic interface for all types of ring elements.
Basic interface for all types of semigroup elements.
Basic interface for all types of abelian groups.
Basic interface for all types of commutative rings.
Basic interface for all types of commutative rings with identity.
Basic interface for all types of euclidian domains.
Basic interface for all types of fields.
Basic interface for all types of groups.
Basic interface for all types of integral domains.
Basic interface for all types of rings.
Basic interface for all types of semigroups.