span of vectors over an extension field but with coefficients from the base field [closed]

asked 2018-05-30 11:16:49 +0200

ThomasJ gravatar image

Hi all,

Assume I have a vector space with coefficients from a finite extension field. How can I make the sub space spanned by vectors over that extension field but with coefficients from the base field? When I do something like this:

F = GF(2) FF.= F.extension(4) VS = VectorSpace(FF, 6)

span([VS.random_element() for i in range(3)], F) I get an error that "is not compatble with base_ring". But if I would replace VS with VS = FreeModule(ZZ, 6) it works. But that is not what I want. Are there any solutions?
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tmonteil
close date 2018-05-31 02:16:12.300144