Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Structure of a generalized Add method.
Common structure at the moment:
InstallMethod( AddF, [ IsCAPCategory, IsFunction ] -> [ IsCAPCategory, IsList ], wobei das zweite Argument eine Liste von Bitupeln ist, welche aus [ func, addtional_filter ] besteht.
end;
Differences between general Add-Method and the former implementation:
KernelEmbedding/ KernelEmbeddingWithGivenKernel: SetIsMonomorphism( kernel_emb, true );
CokernelProjection/ CokernelProjectionWithGivenCokernel SetIsEpimorphism( cokernel_proj, true );
InjectionOfCofactorOfCoproduct/ InjectionOfCofactorOfCoproductWithGivenCoproduct
FIXME: it suffices that the category knows that it has a zero object
if HasCanComputeZeroObject( category ) and CanComputeZeroObject( category ) then
SetIsSplitMonomorphism( injection_of_cofactor, true );
fi;
ProjectionInFactorOfDirectProduct/ ProjectionInFactorOfDirectProductWithGivenDirectProduct
FIXME: it suffices that the category knows that it has a zero object
if HasCanComputeZeroObject( category ) and CanComputeZeroObject( category ) then
SetIsSplitEpimorphism( projection_in_factor, true );
fi;
ImageEmbedding ##Implication (by definition of an image) SetIsMonomorphism( image_embedding, true );
IdentityMorphism SetIsOne( ret_val, true ); SetInverse( ret_val, ret_val );
ZeroMorphism SetIsZero( return_value, true );