CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
#############################################################################
##
##  SetOfDegreesOfGenerators.gd         Graded Modules package
##
##  Copyright 2007-2010, Mohamed Barakat, University of Kaiserslautern
##                       Markus Lange-Hegermann, RWTH Aachen
##
##  Declaration stuff for degrees of sets of generators.
##
#############################################################################

####################################
#
# categories:
#
####################################

# A new GAP-category:

DeclareCategory( "IsSetOfDegreesOfGenerators",
        IsComponentObjectRep );

####################################
#
# function-operation-Attribute triples
#
####################################

####################################
#
# global functions and operations:
#
####################################

# constructors:

DeclareOperation( "CreateSetOfDegreesOfGenerators",
        [ IsList ] );

DeclareOperation( "CreateSetOfDegreesOfGenerators",
        [ IsList, IsInt ] );

# basic operations:

DeclareOperation( "AddDegreesOfGenerators",
        [ IsSetOfDegreesOfGenerators, IsInt, IsList ] );

DeclareOperation( "GetDegreesOfGenerators",
        [ IsSetOfDegreesOfGenerators, IsPosInt ] );

DeclareOperation( "ListOfPositionsOfKnownDegreesOfGenerators",
        [ IsSetOfDegreesOfGenerators ] );