Liking cljdoc? Tell your friends :D

kigen.diagram.brauer

Brauer-monoid direct implementation. A degree n diagram is represented by a single vector of length 2n. The value at position i is the image of point i.

Brauer-monoid direct implementation.
A degree n diagram is represented by a single vector of length 2n.
The value at position i is the image of point i.
raw docstring

alternateclj

(alternate x y)

Lazy infinite list repeating x y.

Lazy infinite list repeating x y.
sourceraw docstring

brauer-gensclj

(brauer-gens n)

The standard generators for the symmetric group and a cup-cap.

The standard generators for the symmetric group and a cup-cap.
sourceraw docstring

completeclj

(complete maps)

Given half the maps individually (arrows in one direction), this completes the diagram.

Given half the maps individually (arrows in one direction), this completes
the diagram.
sourceraw docstring

mulclj

(mul a b)

Composing two Brauer diagrams, assumed to be same degree.

Composing two Brauer diagrams, assumed to be same degree.
sourceraw docstring

traceclj

(trace start diagrams)

Trace a path starting from the given point. This is used when stacking two diagrams for composition. The second argument, diagrams, should contain a lazy infinite list, alternating the diagrams. When composing a and b, tracing a point from a should have the list a,b,a,b,a,b,...; while tracing from b should have b,a,b,a,...

Trace a path starting from the given point. This is used when stacking two
diagrams for composition. The second argument, diagrams, should contain a
lazy infinite list, alternating the diagrams. When composing a and b, tracing
a point from a should have the list a,b,a,b,a,b,...; while tracing from b
should have b,a,b,a,...
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close