LinearCodeFromVectorSpace should be part of the constructor logic of LinearCode

Issue #64 new
Johan Rosenkilde created an issue

There is no need to have a function LinearCodeFromVectorSpace. The logic could and should just be put in LinearCode.__init__.

Comments (1)

  1. Johan Rosenkilde reporter

    It's logic even seems to be quite amenable to simplification:

    G = matrix(V.base_ring(), V.basis()
    
  2. Log in to comment