14 private readonly
int dimension;
22 this.dimension = ReferenceVector.
Dimension;
23 this.referenceVector = ReferenceVector;
38 if (!(this.scalarRing is
null))
39 return this.scalarRing;
65 if (this.scalarRing is
null)
68 return this.scalarRing;
72 private IRing scalarRing =
null;
81 if (!(this.scalarField is
null))
82 return this.scalarField;
84 this.scalarField = this.ScalarRing as
IField;
85 if (this.scalarField is
null)
88 return this.scalarField;
92 private IField scalarField =
null;
113 return v.Dimension == this.dimension;
125 return (obj is
ObjectVectors v && v.dimension ==
this.dimension);
134 return this.dimension.GetHashCode();
Base class for all types of elements.
abstract ISet AssociatedSet
Associated Set.
Element()
Base class for all types of elements.
Base class for all types of sets.
abstract override bool Equals(object obj)
Compares the element to another.
Base class for all types of vector spaces.
Base class for script exceptions.
Class managing a script expression.
static bool UpgradeField(ref IElement E1, ref ISet Set1, ref IElement E2, ref ISet Set2)
Upgrades elements if necessary, to a common field extension, trying to make them compatible.
override int Dimension
Dimension of vector.
Pseudo-vector space of Object-valued vectors.
override bool Equals(object obj)
Compares the element to another.
ObjectVectors(ObjectVector ReferenceVector)
Pseudo-vector space of Object-valued vectors.
override int GetHashCode()
Calculates a hash code of the element.
override IField ScalarField
Scalar field.
override bool Contains(IElement Element)
Checks if the set contains an element.
override IAbelianGroupElement Zero
Returns the zero element of the group.
int Dimension
Dimension of vector space.
override IRing ScalarRing
Scalar ring.
Basic interface for all types of abelian group elements.
Basic interface for all types of elements.
IAbelianGroupElement Zero
Returns the zero element of the group.
Basic interface for all types of fields.
Basic interface for all types of rings.
Basic interface for all types of sets.