Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/grpffmat.gd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
## </ManSection>
## <#/GAPDoc>
##
DeclareSynonym( "IsFFEMatrixGroup", IsFFECollCollColl and IsMatrixGroup );
DeclareCategory( "IsFFEMatrixGroup", IsMatrixGroup );
InstallTrueMethod( IsFFEMatrixGroup, IsFFECollCollColl and IsMatrixGroup );


#############################################################################
Expand Down
3 changes: 2 additions & 1 deletion lib/grpmat.gd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
## </ManSection>
## <#/GAPDoc>
##
DeclareSynonym( "IsMatrixGroup", IsRingElementCollCollColl and IsGroup );
DeclareCategory( "IsMatrixGroup", IsGroup );
InstallTrueMethod( IsMatrixGroup, IsRingElementCollCollColl and IsGroup );

#############################################################################
##
Expand Down
30 changes: 30 additions & 0 deletions lib/matobj1.gd
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,36 @@ DeclareCategory( "IsMatrixObj", IsMatrixOrMatrixObj );
DeclareCategory( "IsRowListMatrix", IsMatrixObj );



#############################################################################
##
# Two filters to speed up some methods:
DeclareFilter( "IsIntVector" ); # TODO: replace this legacy filter from matobjplist.gi with something better
DeclareFilter( "IsFFEVector" );

DeclareCategory( "IsFFEVectorObj", IsVectorObj );
DeclareCategory( "IsCyclotomicVectorObj", IsVectorObj );

DeclareCategory( "IsFFEMatrixOrMatrixObj", IsMatrixOrMatrixObj );
# DeclareSynonym( "IsFFEMatrix", IsFFEMatrixOrMatrixObj and IsMatrix );
# DeclareSynonym( "IsFFEMatrixObj", IsFFEMatrixOrMatrixObj and IsMatrixObj );
# or maybe
# DeclareProperty( "IsFFEMatrix", IsMatrix );
# DeclareProperty( "IsFFEMatrixObj", IsMatrixObj );

DeclareCategory( "IsCyclotomicMatrixOrMatrixObj", IsMatrixOrMatrixObj );
# DeclareSynonym( "IsCyclotomicMatrix", IsCyclotomicMatrixOrMatrixObj and IsMatrix );
# DeclareSynonym( "IsCyclotomicMatrixObj", IsCyclotomicMatrixOrMatrixObj and IsMatrixObj );
# or maybe have them be properties with methods so users are not confused ?!?
# DeclareProperty( "IsCyclotomicMatrix", IsMatrix );
# DeclareProperty( "IsCyclotomicMatrixObj", IsMatrixObj );


InstallTrueMethod( IsFFEMatrixOrMatrixObj, IsFFECollColl and IsMatrix );
InstallTrueMethod( IsCyclotomicMatrixOrMatrixObj, IsCyclotomicCollColl and IsMatrix );



#############################################################################
##
#A BaseDomain( <vector> )
Expand Down
4 changes: 0 additions & 4 deletions lib/matobjplist.gd
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,3 @@ BindGlobal( "ROWSPOS", 4 );
#BindGlobal( "BDPOS", 1 ); # see above
BindGlobal( "ELSPOS", 2 );

# Two filters to speed up some methods:
DeclareFilter( "IsIntVector" );
DeclareFilter( "IsFFEVector" );

Loading