# SPDX-License-Identifier: GPL-2.0-or-later # Modules: A homalg based package for the Abelian category of finitely presented modules over computable rings # # Implementations #
## LIREL = Logical Implications for homalg module RELations
#################################### # # global variables: # ####################################
#################################### # # immediate methods for properties: # ####################################
#################################### # # immediate methods for attributes: # ####################################
#################################### # # methods for operations: # ####################################
if NumberColumns( A ) <> NumberColumns( B ) then
Error( "the first and the second matrix must have the same number of columns\n" ); fi;
if NumberColumns( A ) <> NrGenerators( L ) then
Error( "the number of columns of the first matrix and the number of generators of the last argment do not coincide\n" ); fi;
TryNextMethod( );
end );
##
InstallMethod( RightDivide, "LIREL: for homalg matrices (IsOne)",
[ IsHomalgMatrix, IsHomalgMatrix and IsOne, IsHomalgRelationsOfLeftModule ],
if NumberRows( A ) <> NumberRows( B ) then
Error( "the first and the second matrix must have the same number of rows\n" ); fi;
if NumberRows( A ) <> NrGenerators( L ) then
Error( "the number of rows of the first matrix and the number of generators of the last argment do not coincide\n" ); fi;
TryNextMethod( );
end );
##
InstallMethod( LeftDivide, "LIREL: for homalg matrices (IsOne)",
[ IsHomalgMatrix and IsOne, IsHomalgMatrix, IsHomalgRelationsOfRightModule ],
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.