#NEWLINE# def get_transversals( base , gens ) : #NEWLINE# #INDENT# '\n    Return transversals for the group with BSGS base, gens\n    ' #NEWLINE# if ( not base ) : #NEWLINE# #INDENT# return [ ] #NEWLINE# #UNINDENT# stabs = _distribute_gens_by_base ( base , gens ) #NEWLINE# ( orbits , transversals ) = _orbits_transversals_from_bsgs ( base , stabs ) #NEWLINE# transversals = [ { x : h . _array_form for ( x , h ) in y . items ( ) } for y in transversals ] #NEWLINE# return transversals