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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is intended to collect comments on implications of the problems mentioned in issue #5347.
IsVectorObjobjects are desirable at all.Currently they try to be row spaces in the sense of
IsRowSpace; however,IsVectorObjdoes not implyIsRowVector--note thatIsRowVectorimpliesIsList, which we do not want to force forIsVectorObjobjects.Thus the question is whether we want to generalize
IsRowSpaceto spaces that containIsVectorObjobjects or whether we introduce a new filterIsVectorObjSpacein parallel toIsRowSpace.In the former case, the existing code for
IsRowSpacemust 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.IsVectorObjobjects then the next question is how general they shall be.For row spaces, the domain of scalars (the
LeftActingDomainattribute) 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
IsVectorObjobject stores its base domain, we could argue that a vector space of such objects should always have their common base domain asLeftActingDomainvalue.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