Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zickgraf committed Jul 20, 2021
1 parent 8d0d371 commit 031603f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Version := Maximum( [
## this line prevents merge conflicts
"2020.01-01", ## Peter's version
## this line prevents merge conflicts
"2021.07-01", ## Fabian's version
"2021.07-02", ## Fabian's version
] ),

Date := ~.Version{[ 1 .. 10 ]},
Expand Down Expand Up @@ -109,6 +109,7 @@ Dependencies := rec(
NeededOtherPackages := [
[ "GAPDoc", ">= 1.5" ],
[ "CAP", ">= 2021.06-01" ],
[ "LinearAlgebraForCAP", ">= 2021.07-01" ],
[ "FinSetsForCAP", ">= 2020.04.01" ],
[ "CategoryConstructor", ">= 2020.06-01" ],
[ "SubcategoriesForCAP", ">= 2020.06-01" ],
Expand Down
6 changes: 3 additions & 3 deletions examples/CategoryOfRepresentations.g
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ LoadPackage( "CatReps" );
#! @Example
c3c3 := ConcreteCategoryForCAP( [ [2,3,1], [4,5,6], [,,,5,6,4] ] );
#! A finite concrete category
c3c3 := AsFpCategory( c3c3 );
AsFpCategory( c3c3 );
#! Category generated by the right quiver q(2)[a:1->1,b:1->2,c:2->2] with relations
UnderlyingQuiverAlgebra( c3c3 );
UnderlyingQuiverAlgebra( AsFpCategory( c3c3 ) );
#! (Q * q) / [ 1*(a*a*a) - 1*(1), 1*(c*c*c) - 1*(2), 1*(b*c) - 1*(a*b) ]
#! @EndExample

#! A representation of the category c3c3 is another way to encode
#! A representation of the category AsFpCategory( c3c3 ) is another way to encode
#! a module homomorphism between two modules over the cyclic group $C_3$ of order $3$:
#! The vector space underlying the first module is the given by the value of (1).
#! The action of $C_3$ on the first module is given by the value of (a).
Expand Down
2 changes: 1 addition & 1 deletion examples/DecomposeOnceByRandomEndomorphism.g
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LoadPackage( "CatReps" );
#! @BeginExample
c3c3 := ConcreteCategoryForCAP( [ [2,3,1], [4,5,6], [,,,5,6,4] ] );
#! A finite concrete category
c3c3 := AsFpCategory( c3c3 );
AsFpCategory( c3c3 );
#! Category generated by the right quiver q(2)[a:1->1,b:1->2,c:2->2] with relations
GF3 := HomalgRingOfIntegers( 3 );
#! GF(3)
Expand Down
4 changes: 2 additions & 2 deletions examples/RepresentingC4C4.g
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ LoadPackage( "CatReps" );
#! @Example
c4c4 := ConcreteCategoryForCAP( [ [2,3,4,1], [5,6,7,8], [,,,,6,7,8,5] ] );
#! A finite concrete category
c4c4 := AsFpCategory( c4c4 );
AsFpCategory( c4c4 );
#! Category generated by the right quiver q(2)[a:1->1,b:1->2,c:2->2] with relations
UnderlyingQuiverAlgebra( c4c4 );
UnderlyingQuiverAlgebra( AsFpCategory( c4c4 ) );
#! (Q * q) / [ 1*(a*a*a*a) - 1*(1), 1*(c*c*c*c) - 1*(2), 1*(b*c) - 1*(a*b) ]
GF3 := HomalgRingOfIntegers( 3 );
#! GF(3)
Expand Down
2 changes: 1 addition & 1 deletion gap/CatRepsWithCAP.gi
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ InstallMethodWithCache( Algebroid,

function( k, C )

return Algebroid( k, AsFpCategory( C ) );
return Algebroid( k, AsFpCategory( C ) : range_of_HomStructure := MatrixCategory( k ) );

end );

Expand Down

0 comments on commit 031603f

Please sign in to comment.