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  rationals.gi    Alnuth - ALgebraic NUmber THeory        Andreas Distler
##

#############################################################################
##
#M IntegerPrimitiveElement( Rationals )
##
InstallMethod( IntegerPrimitiveElement, "for the rationals", true,
[IsRationals], 0, One );

#############################################################################
##
#M EquationOrderBasis( Rationals )
#M MaximalOrderBasis( Rationals )
##
InstallMethod( EquationOrderBasis, "for the rationals", true,
[IsRationals], 15, CanonicalBasis );

InstallMethod( MaximalOrderBasis, "for the rationals", true,
[IsRationals], 15, CanonicalBasis );