  
  [1X5 Homogeneous Matrices[0X
  
  The  package  [5XGradedRingForHomalg[0m  defines the classes of graded rings, ring
  elements  and  homogeneous matrices over such rings. These three objects can
  be  used as data structures defined in [5XMatricesForHomalg[0m on which the [5Xhomalg[0m
  project can rely to do homological computations over graded rings.
  
  The  graded  rings  most  prominently  can  be  used with methods known from
  general  [5Xhomalg[0m  rings. The methods for doing the computations are presented
  in the appendix ([14XB[0m), since they are not for external use. The new attributes
  and operations are documented here.
  
  Since   the  objects  inplemented  here  are  representations  from  objects
  elsewhere  in the [5Xhomalg[0m project (i.e. [5XMatricesForHomalg[0m), we want to stress
  that there are many other operations in [5XMatricesForHomalg[0m, which can be used
  in  connection  with  the ones presented here. A few of them can be found in
  the examples and the appendix of this documentation.
  
  
  [1X5.1 Homogeneous Matrices: Category and Representations[0X
  
  [1X5.1-1 IsHomalgHomogeneousMatrixRep[0m
  
  [2X> IsHomalgHomogeneousMatrixRep( [0X[3XA[0X[2X ) __________________________[0XRepresentation
  [6XReturns:[0X  true or false
  
  The representation of [5Xhomalg[0m matrices with entries in a [5Xhomalg[0m graded ring.
  
  (It is a representation of the [5XGAP[0m category [10XIsHomalgMatrix[0m.)
  
  [4X-----------------------------  Code  -----------------------------[0X
    [4XDeclareRepresentation( "IsHomalgHomogeneousMatrixRep",[0X
    [4X        IsHomalgMatrix,[0X
    [4X        [ ] );[0X
  [4X------------------------------------------------------------------[0X
  
  
  [1X5.2 Homogeneous Matrices: Constructors[0X
  
  [1X5.2-1 HomogeneousMatrix[0m
  
  [2X> HomogeneousMatrix( [0X[3Xnumer, denom, R[0X[2X ) _____________________________[0Xfunction
  [2X> HomogeneousMatrix( [0X[3Xnumer, R[0X[2X ) ____________________________________[0Xfunction
  [6XReturns:[0X  a homogeneous matrix
  
  Creates the homogeneous matrix [3Xnumer[0m/[3Xdenom[0m or in the second case [3Xnumer[0m/1 for
  the  graded  ring [3XR[0m. Both [3Xnumer[0m and [3Xdenom[0m may either be from the global ring
  or the computation ring.
  
  
  [1X5.3 Homogeneous Matrices: Attributes[0X
  
  
  [1X5.4 Homogeneous Matrices: Operations and Functions[0X
  
  [1X5.4-1 UnderlyingNonGradedRing[0m
  
  [2X> UnderlyingNonGradedRing( [0X[3Xmat[0X[2X ) __________________________________[0Xoperation
  [6XReturns:[0X  a [5Xhomalg[0m ring
  
  Internally there is a ring, in which computations take place. This is either
  the  global  ring  or a (not fully working) pre ring in [5XSingular[0m with Mora's
  algorithm.
  
  [1X5.4-2 SetEntryOfHomalgMatrix[0m
  
  [2X> SetEntryOfHomalgMatrix( [0X[3Xmat, i, j, r, R[0X[2X ) _______________________[0Xoperation
  
  Changes  the entry ([3Xi,j[0m) of the homogenous matrix [3Xmat[0m to the value [3Xr[0m. Here [3XR[0m
  is the (graded) [5Xhomalg[0m ring involved in these computations.
  
  [1X5.4-3 AddToEntryOfHomalgMatrix[0m
  
  [2X> AddToEntryOfHomalgMatrix( [0X[3Xmat, i, j, r, R[0X[2X ) _____________________[0Xoperation
  
  Changes  the  entry ([3Xi,j[0m) of the homogenous matrix [3Xmat[0m by adding the value [3Xr[0m
  to it. Here [3XR[0m is the (graded) [5Xhomalg[0m ring involved in these computations.
  
  [1X5.4-4 GetEntryOfHomalgMatrixAsString[0m
  
  [2X> GetEntryOfHomalgMatrixAsString( [0X[3Xmat, i, j, R[0X[2X ) __________________[0Xoperation
  [6XReturns:[0X  a string
  
  Returns  the entry ([3Xi,j[0m) of the homogenous matrix [3Xmat[0m as a string. Here [3XR[0m is
  the (graded) [5Xhomalg[0m ring involved in these computations.
  
  [1X5.4-5 GetEntryOfHomalgMatrix[0m
  
  [2X> GetEntryOfHomalgMatrix( [0X[3Xmat, i, j, R[0X[2X ) __________________________[0Xoperation
  [6XReturns:[0X  a graded ring element
  
  Returns the entry ([3Xi,j[0m) of the homogenous matrix [3Xmat[0m. Here [3XR[0m is the (graded)
  [5Xhomalg[0m ring involved in these computations.
  
