Don't create multiplication tables just for the sake of Opposite
This commit is contained in:
parent
6d095fe0d3
commit
54c503e356
@ -842,7 +842,7 @@ InstallGlobalFunction( OppositeLoop, L -> IntoLoop( Opposite( L ) ) );
|
|||||||
## as can be preserved.
|
## as can be preserved.
|
||||||
|
|
||||||
InstallMethod( Opposite, "for magma",
|
InstallMethod( Opposite, "for magma",
|
||||||
[ IsMagma ],
|
[ IsMagma and HasMultiplicationTable],
|
||||||
M -> ConstructorFromTable(M)( TransposedMat( MultiplicationTable( M ) ) )
|
M -> ConstructorFromTable(M)( TransposedMat( MultiplicationTable( M ) ) )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user