Skip to content

Commit

Permalink
remove unused global function ElementsLeftActing
Browse files Browse the repository at this point in the history
  • Loading branch information
cdwensley committed May 17, 2024
1 parent 66eb359 commit 725b971
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 35 deletions.
5 changes: 3 additions & 2 deletions doc/algebra.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- -->
<!-- algebra.xml XModAlg documentation Z. Arvasi -->
<!-- & A. Odabas -->
<!-- Copyright (C) 2014-2021, Z. Arvasi & A. Odabas, -->
<!-- Copyright (C) 2014-2024, Z. Arvasi & A. Odabas, -->
<!-- Osmangazi University, Eskisehir, Turkey -->
<!-- -->
<!-- ------------------------------------------------------------------- -->
Expand All @@ -19,7 +19,8 @@ All the algebras considered in this package will be associative
and commutative.
Scalars belong to a commutative ring <B>k</B> with <M>1 \neq 0</M>.
<P/>
<E>Why not a field? A group ring over the integers is not an algebra.</E>
<E>(Why not a field?
A group ring over the integers is not an algebra. [CDW])</E>
<P/>


Expand Down
9 changes: 0 additions & 9 deletions lib/algebra.gd
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ DeclareOperation( "InclusionMappingAlgebra", [ IsAlgebra, IsAlgebra ] );
DeclareOperation( "RestrictionMappingAlgebra",
[ IsAlgebraHomomorphism, IsAlgebra, IsAlgebra ] );

## remove this "not IsBound(...)" hack as soon as the declarations
## have been moved to the main GAP library
if not IsBound( AlgebraHomomorphismByFunction ) then
DeclareOperation( "AlgebraHomomorphismByFunction",
[ IsAlgebra, IsAlgebra, IsFunction ] );
fi;

DeclareOperation( "ModuleHomomorphism",
[ IsAlgebra, IsRing ] );

Expand All @@ -47,8 +40,6 @@ DeclareOperation( "AllIdempotentAlgebraHomomorphisms",

############################## algebra actions ####################

DeclareGlobalFunction( "ElementsLeftActing" );

DeclareProperty( "IsAlgebraAction", IsMapping );

DeclareGlobalFunction( "AlgebraAction" );
Expand Down
26 changes: 2 additions & 24 deletions lib/algebra.gi
Original file line number Diff line number Diff line change
Expand Up @@ -517,28 +517,6 @@ end );

############################## algebra actions ############################

#############################################################################
##
#F ElementsLeftActing( <fun> )
##
InstallGlobalFunction( ElementsLeftActing,
function (ac)
local AB,B,list,uzAB,uzA,uzB,k,i,elB;
AB := Source(ac);
B := Range(ac);
elB := Elements(B);
list := [];
uzAB := Length(AB);
uzB := Length(elB);
uzA := uzAB/uzB;
k := 1;
for i in [1..uzA] do
Add(list,AB[k][1]);
k := k+uzB;
od;
return Set(list);
end );

#############################################################################
##
#F IsAlgebraAction( <fun> )
Expand Down Expand Up @@ -569,7 +547,7 @@ end );

#############################################################################
##
#F AlgebraAction( <bdy>, <act> ) crossed module from given boundary & action
#F AlgebraAction( <args> ) crossed module from given boundary & action
##
InstallGlobalFunction( AlgebraAction,
function( arg )
Expand All @@ -593,7 +571,7 @@ function( arg )
return AlgebraActionByModule( arg[1],arg[2] );
fi;
# alternatives not allowed
Error( "usage: AlgebraAcrion( A, I, B ); or various options" );
Error( "usage: AlgebraAction( A, I, B ); or various options" );
end );

#############################################################################
Expand Down

0 comments on commit 725b971

Please sign in to comment.