CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
#############################################################################
##
#W  unithom.gi      Alnuth - ALgebraic NUmber THeory           Bettina Eick
#W                                                          Andreas Distler
##

#############################################################################
##
#F Images under unit group homs
##
InstallMethod( ImagesRepresentative, "for unit groups", FamSourceEqFamElm,
[IsGroupGeneralMappingByImages and IsUnitGroupIsomorphism,
 IsMultiplicativeElementWithInverse], 0,
function( nat, h )
    local F, H, e;
    F := FieldOfUnitGroup( Source( nat ) );
    H := Range( nat );
    e := ExponentsOfUnits( F, [h] )[1];
    return MappedVector( e, Pcp(H) );
end);