knots-0.1.0.1: Khovanov homology computations

Safe HaskellNone
LanguageHaskell98

Knots.PD

Synopsis

Documentation

data Node a Source

Constructors

N a a a a 

Instances

Functor Node 
Foldable Node 
Eq a => Eq (Node a) 
Read a => Read (Node a) 
Show a => Show (Node a) 

type PD a = [Node a] Source

indices :: Ord a => PD a -> Set a Source

data ElMo Source

ElMo is short for Elementary Morphism, for the building blocks of our matrices.

Constructors

Mult Int Int Int 
Comult Int Int Int 
Neg ElMo 

Instances

resolve_set :: Ord a => PD a -> Set (Set a) Source

resolve_one_set :: Ord a => Node a -> Set (Set a) -> Set (Set a) Source

mergeParts :: Ord a => a -> a -> Set (Set a) -> Set (Set a) Source

mirror :: PD a -> PD a Source

switch' :: Set Int -> PD a -> PD a Source

replaceBySeveral :: Eq a => a -> [a] -> PD a -> PD a Source

replaceFirst :: Eq a => a -> a -> PD a -> PD a Source

addHopfy Source

Arguments

:: Ord a 
=> a

Position where to add hopfy

-> a

Fresh name (1)

-> a

Fresh name (2)

-> a

Fresh name (3)

-> a

Fresh name (4)

-> PD a 
-> PD a