CupProduct

org.appliedtopology.tda4j.sset.CupProduct
object CupProduct

Cochains, the Alexander-Whitney cup product and cohomology classes of a finite simplicial set, over a Field.

A p-cochain is a Map[G, F] on the non-degenerate p-simplices (absent = 0; the normalized cochain complex, so a degenerate simplex always evaluates to 0). For the cup product, (a ∪ b)(σ) = a(front_p σ) · b(back_q σ) with the front face d_{p+1} ∘ ... ∘ d_n σ and the back face d_0^p σ (no sign). Linear algebra is dense: SMALL complexes.

Attributes

Experimental
true
Source
CupProduct.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CupProduct.type

Members list

Value members

Concrete methods

def alexanderWhitney[G](x: FiniteSimplicialSet[G], sigma: G, p: Int): (SSetElement[G], SSetElement[G])

The front p-face and back (n-p)-face of an n-simplex (as elements: either may be degenerate).

The front p-face and back (n-p)-face of an n-simplex (as elements: either may be degenerate).

Attributes

Source
CupProduct.scala
def cohomologyBasis[G, F](x: FiniteSimplicialSet[G], n: Int): Vector[Map[G, F]]

Cocycles whose classes form a basis of H^n(X; F).

Cocycles whose classes form a basis of H^n(X; F).

Attributes

Source
CupProduct.scala
def cup[G, F](x: FiniteSimplicialSet[G], p: Int, q: Int, a: Map[G, F], b: Map[G, F])(using field: Field { type Self = F; }): Map[G, F]

The cup product of a p-cochain and a q-cochain, a (p+q)-cochain.

The cup product of a p-cochain and a q-cochain, a (p+q)-cochain.

Attributes

Source
CupProduct.scala
def isCoboundary[G, F](x: FiniteSimplicialSet[G], n: Int, c: Map[G, F]): Boolean

Whether the n-cochain c is a coboundary (cohomologous to zero).

Whether the n-cochain c is a coboundary (cohomologous to zero).

Attributes

Source
CupProduct.scala
def isCocycle[G, F](x: FiniteSimplicialSet[G], n: Int, c: Map[G, F])(using field: Field { type Self = F; }): Boolean

Attributes

Source
CupProduct.scala