(base, gens)
return transversals
Return transversals for the group with BSGS base, gens
Return transversals for the group with BSGS base, gens
Return transversals for the group with BSGS base gens
def get_transversals(base, gens):
    """
    Return transversals for the group with BSGS base, gens
    """
    if not base:
        return []
    stabs = _distribute_gens_by_base(base, gens)
    orbits, transversals = _orbits_transversals_from_bsgs(base, stabs)
    transversals = [dict((x, h._array_form) for x, h in y.items()) for y in
                    transversals]
    return transversals
def get_transversals ( base , gens ) : if not base : return [ ] stabs = _distribute_gens_by_base ( base , gens ) orbits , transversals = _orbits_transversals_from_bsgs ( base , stabs ) transversals = [ dict ( ( x , h . _array_form ) for x , h in y . items ( ) ) for y in transversals ] return transversals