'Returns a standard basis in element form.'

def _groebner_vec(self, extended=False):

    if (not extended):
        return [self.convert(self.ring._sdm_to_vector(x, self.rank)) for x in self._groebner()]
    (gb, gbe) = self._groebner(extended=True)
    return ([self.convert(self.ring._sdm_to_vector(x, self.rank)) for x in gb], [self.ring._sdm_to_vector(x, len(self.gens)) for x in gbe])
