braid-0.1.0.0: Types and functions to work with braids and Khovanov homology.

CopyrightAdam Saltz
LicenseBSD3
Maintainersaltz.adam@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Braiddiagrams

Description

Longer description to come.

Synopsis

Documentation

newtype NameNode Source

A newtype wrapper for Node to create an IsName instance.

Constructors

NameNode (Node ArcLabel) 

identity :: BraidIndex -> Diagram B Source

The identity braid of index index.

identityAt :: BraidIndex -> ArcLabel -> Diagram B Source

The identity braid of index index with arc names starting at lastlabel + 1.

negativeCrossing :: Diagram B Source

A negative crossing.

positiveCrossing :: Diagram B Source

Draws a positive crossing.

cupCap :: Diagram B Source

A cup-cap combo.

cupCapLevelAt :: BraidIndex -> ArcLabel -> ArtinGen -> Diagram B Source

A cup-cap combo with names starting at lastLabel + 1.

artin :: BraidIndex -> ArtinGen -> Diagram B Source

The kth Artin generator of the braid group on n strands. To draw the inverse of the kth generator, use -k.

drawBraid :: Braid -> Diagram B Source

Draws a braid.

drawBraidClosure :: Braid -> Diagram B Source

Draws a braid closure.

resolutionD :: Int -> BraidIndex -> ArtinGen -> Diagram B Source

Draws the r resolution of the kth Artin generator in the n strand braid group. To draw the inverse of the kth generator, use -k.

resolutionAt :: Int -> BraidIndex -> ArtinGen -> Height -> Diagram B Source

Draws the r resolution of the kth Artin generator in the n strand braid group with names starting at lastLabel + 1. To draw the inverse of the kth generator, use -k.

resolveD :: Resolution -> Braid -> Diagram B Source

Draws the braid b resolved according to rs.

resolveClosureD :: Resolution -> Braid -> Diagram B Source

Draws the closure of the braid b resolved according to rs.

cubeOfResolutionsD :: Braid -> Map Resolution (Diagram B) Source

A Map from Resolutions to a diagram of the corresponding resolution of the braid b.

cubeOfResolutionsClosureD :: Braid -> Map Resolution (Diagram B) Source

A Map from Resolutions to a diagram of the corresponding resolution of the closure of the braid b.

printCube :: Map [Int] (Diagram B) -> Diagram B Source

Prints Maps like the output of cubeOfResolutionsD and `cubeOfResolutionsClosureD.`

bigGeneratorD :: Braid -> AlgGen -> Map [Int] (Diagram B) Source

Diagrams for an AlgGen indexed by their resolutions.

generatorD :: Braid -> Generator -> Diagram B Source

Diagram for a single Generator -- mostly exists to be called by bigGeneratorD.

markIn :: Diagram B -> Component -> Sign -> Diagram B -> Diagram B Source

Marks a component of diagram.