Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" Set of homomorphisms between two groups.
"""
#***************************************************************************** # Copyright (C) 2006 William Stein <wstein@gmail.com> # # Distributed under the terms of the GNU General Public License (GPL) # # http://www.gnu.org/licenses/ #*****************************************************************************
return isinstance(H, GroupHomset_generic)
return RingHomset_generic(G, H)
""" This class will not work since morphism.GroupHomomorphism_coercion is undefined and morphism.GroupHomomorphism_im_gens is undefined. """ HomsetWithBase.__init__(self, G, H, Groups(), sage.rings.integer_ringer.ZZ)
""" EXAMPLES:
""" try: return morphism.GroupHomomorphism_im_gens(self, im_gens, check=check) except (NotImplementedError, ValueError) as err: raise TypeError("images (=%s) do not define a valid homomorphism"%im_gens)
return morphism.GroupHomomorphism_coercion(self)
|