Skip to content

Commit eab3adb

Browse files
installed HilbertPoincareSeries & HilbertPolynomial for submodules
closes #229
1 parent 3e136dd commit eab3adb

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

Modules/PackageInfo.g

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PackageName := "Modules",
55
Subtitle := "A homalg based package for the Abelian category of finitely presented modules over computable rings",
66

77
Version := Maximum( [
8-
"2019.06.02", ## Mohamed's version
8+
"2019.06.04", ## Mohamed's version
99
## this line prevents merge conflicts
1010
"2014.07.02", ## Markus' version
1111
## this line prevents merge conflicts
@@ -16,8 +16,6 @@ Version := Maximum( [
1616
"2013.05.05", ## Sepp's version
1717
## this line prevents merge conflicts
1818
"2017.06.19", ## Vinay's version
19-
## this line prevents merge conflicts
20-
"2015.11.06", ## Homepage update version, to be removed
2119
] ),
2220

2321
Date := ~.Version{[ 1 .. 10 ]},

Modules/gap/LIMOD.gi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,6 +1880,17 @@ InstallMethod( HilbertPoincareSeries,
18801880

18811881
end );
18821882

1883+
##
1884+
InstallMethod( HilbertPoincareSeries,
1885+
"for a homalg submodule",
1886+
[ IsHomalgModule and IsStaticFinitelyPresentedSubobjectRep ],
1887+
1888+
function( M )
1889+
1890+
return HilbertPoincareSeries( SuperObject( M ) ) - HilbertPoincareSeries( FactorObject( M ) );
1891+
1892+
end );
1893+
18831894
##
18841895
InstallMethod( HilbertPolynomial,
18851896
"for a homalg module",
@@ -1891,6 +1902,17 @@ InstallMethod( HilbertPolynomial,
18911902

18921903
end );
18931904

1905+
##
1906+
InstallMethod( HilbertPolynomial,
1907+
"for a homalg submodule",
1908+
[ IsHomalgModule and IsStaticFinitelyPresentedSubobjectRep ],
1909+
1910+
function( M )
1911+
1912+
return HilbertPolynomial( SuperObject( M ) ) - HilbertPolynomial( FactorObject( M ) );
1913+
1914+
end );
1915+
18941916
##
18951917
InstallMethod( DataOfHilbertFunction,
18961918
"for a homalg module",

0 commit comments

Comments
 (0)