  
  [1XB Overview of the [5XGradedRingForHomalg[1X Package Source Code[0X
  
  This  appendix  is  included in the documentation to shine some light on the
  mathematical  backgrounds of this Package. Neither is it needed to work with
  this  package  nor should the methods presented here be called directly. The
  functions documented here are entries of the so called ring table and not to
  be called directly. There are higher level methods in declared and installed
  in  [5XMatricesForHomalg[0m, which call this functions (--> [10X?MatricesForHomalg:The
  Basic Matrix Operations[0m).
  
  
  [1XB.1 The generic Methods[0X
  
  We will present some methods as an example, to show the idea:
  
  [1XB.1-1 BasisOfRowModule[0m
  
  [2X> BasisOfRowModule( [0X[3XM[0X[2X ) ____________________________________________[0Xfunction
  [6XReturns:[0X  a distinguished basis (i.e. a distinguished generating set) of the
            module generated by M
  
  [4X-----------------------------  Code  -----------------------------[0X
    [4XBasisOfRowModule :=[0X
    [4X  function( M )[0X
    [4X     return MatrixOverGradedRing([0X
    [4X                    BasisOfRowModule( UnderlyingMatrixOverNonGradedRing( M ) ),[0X
    [4X                    HomalgRing( M ) );[0X
    [4X  end,[0X
  [4X------------------------------------------------------------------[0X
  
  [1XB.1-2 DecideZeroRows[0m
  
  [2X> DecideZeroRows( [0X[3XA, B[0X[2X ) ___________________________________________[0Xfunction
  [6XReturns:[0X  a reduced form of [3XA[0m with respect to [3XB[0m
  
  [4X-----------------------------  Code  -----------------------------[0X
    [4XDecideZeroRows :=[0X
    [4X  function( A, B )[0X
    [4X    return MatrixOverGradedRing([0X
    [4X                   DecideZeroRows( UnderlyingMatrixOverNonGradedRing( A ),[0X
    [4X                           UnderlyingMatrixOverNonGradedRing( B ) ),[0X
    [4X                   HomalgRing( A ) );[0X
    [4X  end,[0X
  [4X------------------------------------------------------------------[0X
  
  [1XB.1-3 SyzygiesGeneratorsOfRows[0m
  
  [2X> SyzygiesGeneratorsOfRows( [0X[3XM[0X[2X ) ____________________________________[0Xfunction
  [6XReturns:[0X  a distinguished basis of the syzygies of the argument
  
  [4X-----------------------------  Code  -----------------------------[0X
    [4XSyzygiesGeneratorsOfRows :=[0X
    [4X  function( M )[0X
    [4X    return MatrixOverGradedRing([0X
    [4X                   SyzygiesGeneratorsOfRows( UnderlyingMatrixOverNonGradedRing( M ) ),[0X
    [4X                   HomalgRing( M ) );[0X
    [4X  end,[0X
  [4X------------------------------------------------------------------[0X
  
  
  [1XB.2 Tools[0X
  
  The  package  [5XGradedRingForHomalg[0m  also implements tool functions. These are
  referred  to  from  [5XMatricesForHomalg[0m automatically. We list the implemented
  methods  here  are  and  refer  to  the [5XMatricesForHomalg[0m documentation (-->
  [10X?MatricesForHomalg:       The      Matrix      Tool      Operations[0m      and
  [10X?MatricesForHomalg:RingElement[0m)   for  details.  All  tools  functions  from
  [5XMatricesForHomalg[0m not listed here are also supported by fallback tools.
  
  --    IsZero
  
  --    IsOne
  
  --    Minus
  
  --    DivideByUnit
  
  --    IsUnit
  
  --    Sum
  
  --    Product
  
  --    ShallowCopy
  
  --    ZeroMatrix
  
  --    IdentityMatrix
  
  --    AreEqualMatrices
  
  --    Involution
  
  --    CertainRows
  
  --    CertainColumns
  
  --    UnionOfRows
  
  --    UnionOfColumns
  
  --    DiagMat
  
  --    KroneckerMat
  
  --    MulMat
  
  --    AddMat
  
  --    SubMat
  
  --    Compose
  
  --    NrRows
  
  --    NrColumns
  
  --    IsZeroMatrix
  
  --    IsDiagonalMatrix
  
  --    ZeroRows
  
  --    ZeroColumns
  
