'Returns a copy of column j of the matrix as a (m x 1)
DOK matrix.'

def getcol(self, j):

    out = self.__class__((self.shape[0], 1), dtype=self.dtype)
    for i in range(self.shape[0]):
        out[(i, 0)] = self[(i, j)]
    return out
