Generating random vectors list which are linearly independent
How can I get n(maybe 10) vectors that are linearly independent from a vector space?
gen=VectorSpace(GF(29),9)
basis=[gen.random_element() for i in range(10)]
print(gen.linear_dependence(basis)==[]) #False
You cannot get 10 linearly independent vectors in a 9-dimensional vector space.