The package GradedRingForHomalg 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 MatricesForHomalg on which the homalg project can rely to do homological computations over graded rings.
The graded rings most prominently can be used with methods known from general homalg rings. The methods for doing the computations are presented in the appendix (B), 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 homalg project (i.e. MatricesForHomalg), we want to stress that there are many other operations in MatricesForHomalg, 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.
> IsHomalgHomogeneousMatrixRep( A ) | ( representation ) |
Returns: true or false
The representation of homalg matrices with entries in a homalg graded ring.
(It is a representation of the GAP category IsHomalgMatrix.)
DeclareRepresentation( "IsHomalgHomogeneousMatrixRep",
IsHomalgMatrix,
[ ] );
|
> HomogeneousMatrix( numer, denom, R ) | ( function ) |
> HomogeneousMatrix( numer, R ) | ( function ) |
Returns: a homogeneous matrix
Creates the homogeneous matrix numer/denom or in the second case numer/1 for the graded ring R. Both numer and denom may either be from the global ring or the computation ring.
> UnderlyingNonGradedRing( mat ) | ( operation ) |
Returns: a homalg 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 Singular with Mora's algorithm.
> SetEntryOfHomalgMatrix( mat, i, j, r, R ) | ( operation ) |
Changes the entry (i,j) of the homogenous matrix mat to the value r. Here R is the (graded) homalg ring involved in these computations.
> AddToEntryOfHomalgMatrix( mat, i, j, r, R ) | ( operation ) |
Changes the entry (i,j) of the homogenous matrix mat by adding the value r to it. Here R is the (graded) homalg ring involved in these computations.
> GetEntryOfHomalgMatrixAsString( mat, i, j, R ) | ( operation ) |
Returns: a string
Returns the entry (i,j) of the homogenous matrix mat as a string. Here R is the (graded) homalg ring involved in these computations.
> GetEntryOfHomalgMatrix( mat, i, j, R ) | ( operation ) |
Returns: a graded ring element
Returns the entry (i,j) of the homogenous matrix mat. Here R is the (graded) homalg ring involved in these computations.
generated by GAPDoc2HTML