define opposites even if just have cayley table.

This commit is contained in:
Glen Whitney 2017-10-30 11:53:35 -04:00
parent 2dcde99549
commit 4c2817b04f

View File

@ -866,6 +866,11 @@ InstallMethod( Opposite, "for magma",
M -> ConstructorFromTable(M)( TransposedMat( MultiplicationTable( M ) ) )
);
InstallMethod( Opposite, "for magma",
[ IsMagma and HasCayleyTable], # mult table easy if Cayley table there
M -> ConstructorFromTable(M)( TransposedMat( MultiplicationTable( M ) ) )
);
#############################################################################
## DISPLAYING QUASIGROUPS AND LOOPS
## -------------------------------------------------------------------------