Vector spaces of IsVectorObj
objects
#5346
ThomasBreuer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This discussion is intended to collect comments on implications of the problems mentioned in issue #5347.
IsVectorObj
objects are desirable at all.Currently they try to be row spaces in the sense of
IsRowSpace
; however,IsVectorObj
does not implyIsRowVector
--note thatIsRowVector
impliesIsList
, which we do not want to force forIsVectorObj
objects.Thus the question is whether we want to generalize
IsRowSpace
to spaces that containIsVectorObj
objects or whether we introduce a new filterIsVectorObjSpace
in parallel toIsRowSpace
.In the former case, the existing code for
IsRowSpace
must be changed such that it works in the more general setup;note that it was written under the assumption that the vectors are lists, thus the code uses
Concatenation
,for x in v do ...
and constructors which return[ 1 .. len ] * Zero(F)
, etc.In the latter case, new code must be written for
IsVectorObjSpace
.IsVectorObj
objects then the next question is how general they shall be.For row spaces, the domain of scalars (the
LeftActingDomain
attribute) need not be equal to the base domain of the vectors.(To be precise, there is no concept of a strict base domain of a set of row vectors.)
Due to the fact that each
IsVectorObj
object stores its base domain, we could argue that a vector space of such objects should always have their common base domain asLeftActingDomain
value.For example, if a
GF(4)
-vector space shall be created from objects with base domainGF(2)
then the generators do not support the multiplication withZ(4)
; the only way out seems to be to replace the given generators by vector objects with base domainGF(4)
and to store these new vector objects as generators; this may cause trouble later on.(Creating a
GF(4)
-vector space of vectors with base domainGF(8)
causes even more complications, and seems to be beyond the area of applications for which vector and matrix objects have been designed. Nevertheless, supporting this in the same way as in the case of row spaces would not be a problem.)Beta Was this translation helpful? Give feedback.
All reactions