Ask Your Question

Revision history [back]

Something like this could work, but since we don't know what you want to do with the vector space with elements deleted, it's hard to give any specifics.

class DeletedVectorSpace():
    def __init__(self, vector_space, deleted):
        """
        INPUT:

        ``vector_space`` -- ambient vector space
        ``deleted`` -- list of vectors to be removed
        """
        self._vector_space = vector_space
        self._deleted = deleted

    def method1(self):
        now do stuff with self._vector_space and self._deleted

    def method2(self):
        now do stuff with self._vector_space and self._deleted

    def method3(self):
        now do stuff with self._vector_space and self._deleted