#################################### # #! @Section GAP categories # ####################################
#! @Description #! The ⪆ category of a wrapper CAP category.
DeclareCategory( "IsWrapperCapCategory",
IsCapCategory );
#! @Description #! The ⪆ category of objects in a wrapper CAP category.
DeclareCategory( "IsWrapperCapCategoryObject",
IsCapCategoryObject );
#! @Description #! The ⪆ category of morphisms in a wrapper CAP category.
DeclareCategory( "IsWrapperCapCategoryMorphism",
IsCapCategoryMorphism );
#! @Description #! Wrap an object <A>object</A> (in the category underlying the wrapper category <A>category</A>) to form an object in <A>category</A>. #! @Arguments category, object #! @Returns an object
DeclareOperation( "AsObjectInWrapperCategory",
[ IsWrapperCapCategory, IsCapCategoryObject ] );
#! @Description #! Wrap a morphism <A>morphism</A> (in the category underlying the wrapper category `CapCategory(`<A>source</A>`)`) to form a morphism in `CapCategory(`<A>source</A>`)` #! with given source and range. #! @Arguments source, morphism, range #! @Returns a morphism
DeclareOperation( "AsMorphismInWrapperCategory",
[ IsWrapperCapCategoryObject, IsCapCategoryMorphism, IsWrapperCapCategoryObject ] );
#! @Description #! Wrap a morphism <A>morphism</A> (in the category underlying the wrapper category <A>category</A>) to form a morphism in <A>category</A>. #! @Arguments category, morphism #! @Returns a morphism
DeclareOperation( "AsMorphismInWrapperCategory",
[ IsWrapperCapCategory, IsCapCategoryMorphism ] );
#! @Description #! Wraps a category <A>category</A> to form a new category subject to the options given via <A>options</A>, #! which is a record with the following keys: #! * `name` (optional): the name of the wrapper category #! * `only_primitive_operations` (optional, default `false`): whether to only wrap primitive operations or all operations #! #! Additionally, the following options of <Ref Oper="CategoryConstructor" Label="for IsRecord" /> are supported: #! `category_filter`, `category_object_filter`, `category_morphism_filter`. #! The filters must imply `IsWrapperCapCategory`, `IsWrapperCapCategoryObject`, and `IsWrapperCapCategoryMorphism`, respectively. #! @Arguments category, options #! @Returns a category
DeclareOperation( "WrapperCategory",
[ IsCapCategory, IsRecord ] );
#! @Description #! Return the functor from the wrapped category `ModelingCategory`(<A>W</A>) to the wrapper category <A>W</A> #! which simply wraps objects/morphisms. #! @Arguments W #! @Returns a functor
DeclareAttribute( "WrappingFunctor",
IsWrapperCapCategory );
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.