Skip to content

Commit

Permalink
declared and installed AssociatedSystem for maps
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-barakat committed Mar 1, 2015
1 parent 9af6fcd commit 43c0d8e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Subtitle := "A homalg based package for D-modules",
## See '?Extending: Version Numbers' in GAP help for an explanation
## of valid version numbers. For an automatic package distribution update
## you must provide a new version number even after small changes.
Version := "2015.02.24",
Version := "2015.02.25",
## Please adjust also the VERSION file in the package directory when
## changing this.

Expand Down
3 changes: 3 additions & 0 deletions gap/InjectivePoints.gd
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ DeclareOperation( "AssociatedSystem",
DeclareOperation( "AssociatedSystem",
[ IsHomalgModule ] );

DeclareOperation( "AssociatedSystem",
[ IsHomalgMap ] );

DeclareOperation( "SolutionSpace",
[ IsHomalgMatrix, IsHomalgModule ] );

Expand Down
11 changes: 11 additions & 0 deletions gap/InjectivePoints.gi
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@ InstallMethod( AssociatedSystem,

end );

##
InstallMethod( AssociatedSystem,
"for a homalg map",
[ IsHomalgMap and IsHomalgLeftObjectOrMorphismOfLeftObjects ],

function( phi )

return MatrixOfGenerators( MatrixOfMap( phi ) * GeneratorsOfModule( Range( phi ) ) );

end );

##
InstallMethod( SolutionSpace,
"for a homalg matrix and a homalg module",
Expand Down

0 comments on commit 43c0d8e

Please sign in to comment.