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
1
2
5 Homogeneous Matrices
3
4
The package GradedRingForHomalg defines the classes of graded rings, ring
5
elements and homogeneous matrices over such rings. These three objects can
6
be used as data structures defined in MatricesForHomalg on which the homalg
7
project can rely to do homological computations over graded rings.
8
9
The graded rings most prominently can be used with methods known from
10
general homalg rings. The methods for doing the computations are presented
11
in the appendix (B), since they are not for external use. The new attributes
12
and operations are documented here.
13
14
Since the objects inplemented here are representations from objects
15
elsewhere in the homalg project (i.e. MatricesForHomalg), we want to stress
16
that there are many other operations in MatricesForHomalg, which can be used
17
in connection with the ones presented here. A few of them can be found in
18
the examples and the appendix of this documentation.
19
20
21
5.1 Homogeneous Matrices: Category and Representations
22
23
5.1-1 IsHomalgMatrixOverGradedRingRep
24
25
IsHomalgMatrixOverGradedRingRep( A )  Representation
26
Returns: true or false
27
28
The representation of homalg matrices with entries in a homalg graded ring.
29
30
(It is a representation of the GAP category IsMatrixOverGradedRing.)
31
32
 Code 
33
DeclareRepresentation( "IsHomalgMatrixOverGradedRingRep",
34
 IsMatrixOverGradedRing,
35
 [ ] );
36

37
38
39
5.2 Homogeneous Matrices: Constructors
40
41
5.2-1 MatrixOverGradedRing
42
43
MatrixOverGradedRing( mat, S )  function
44
Returns: a matrix over a graded ring
45
46
Creates a matrix for the graded ring S, where mat is a matrix over
47
UnderlyingNonGradedRing(S).
48
49
50
5.3 Homogeneous Matrices: Attributes
51
52
5.3-1 DegreesOfEntries
53
54
DegreesOfEntries( A )  attribute
55
Returns: a listlist of degrees/multi-degrees
56
57
The matrix of degrees of the matrix A.
58
59
5.3-2 NonTrivialDegreePerRow
60
61
NonTrivialDegreePerRow( A[, col_degrees] )  attribute
62
Returns: a list of degrees/multi-degrees
63
64
The list of first nontrivial degree per row of the matrix A.
65
66
5.3-3 NonTrivialDegreePerColumn
67
68
NonTrivialDegreePerColumn( A[, row_degrees] )  attribute
69
Returns: a list of degrees/multi-degrees
70
71
The list of first nontrivial degree per column of the matrix A.
72
73
74
5.4 Homogeneous Matrices: Operations and Functions
75
76
5.4-1 UnderlyingNonGradedRing
77
78
UnderlyingNonGradedRing( mat )  operation
79
Returns: a homalg ring
80
81
The nongraded ring underlying HomalgRing(mat).
82
83
5.4-2 SetMatElm
84
85
SetMatElm( mat, i, j, r, R )  operation
86
87
Changes the entry (i,j) of the matrix mat to the value r. Here R is the
88
graded homalg ring involved in these computations.
89
90
5.4-3 AddToMatElm
91
92
AddToMatElm( mat, i, j, r, R )  operation
93
94
Changes the entry (i,j) of the matrix mat by adding the value r to it. Here
95
R is the (graded) homalg ring involved in these computations.
96
97
5.4-4 MatElmAsString
98
99
MatElmAsString( mat, i, j, R )  operation
100
Returns: a string
101
102
Returns the entry (i,j) of the matrix mat as a string. Here R is the
103
(graded) homalg ring involved in these computations.
104
105
5.4-5 MatElm
106
107
MatElm( mat, i, j, R )  operation
108
Returns: a graded ring element
109
110
Returns the entry (i,j) of the matrix mat. Here R is the (graded) homalg
111
ring involved in these computations.
112
113
114