define opposites even if just have cayley table.
This commit is contained in:
parent
2dcde99549
commit
4c2817b04f
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
## -------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue