Generic Methods

Many constructions for additive, abelian, linear or monoidal categories are entangled. Thus we provide a vast list of methods to compute objects or morphisms using other methods.

Keep in mind that the performance will usually be much better if the following methods are overwritten form custom types.

AbstractAlgebra.imageMethod
image(f::Morphism)

Return the image $Im(f)$ of $f:X → Y$ together with a monomorphism $Im(f) ↪ Y$.

source
Hecke.decomposeMethod
decompose(X::Object, S::Vector{Object})

Decompose an object $X$ in a semisimple category into simple objects of $S$.

source
Nemo.eigenvaluesMethod
eigenvalues(f::Morphism)

Compute the eigenvalues of $f$. Return a dictonary with entries λ => ker(f - λid).

source
Base.:^Method
^(X::Object, n::Integer)

Return the n-fold product object X^n.

source
Hecke.:⊗Method
⊗(f::Morphism, g::Morphism)

Return the tensor product morphism of fand g.

source
TensorCategories.∐Method
∐(X::Object...)

Return the coproduct Object and an array containing the injection morphisms.

source