ProductComplex
org.appliedtopology.tda4j.ProductComplex
object ProductComplex
The product of two filtered complexes as a stream: a cell σ × τ for every pair of a cell of each, entering at the larger of the two values (Combine.Max, the default: the sublevel set at t is the product of the two sublevel sets) or at their sum (Combine.Sum: the tensor product of the two filtered chain complexes).
val circle = VietorisRips(points, maxDimension = 2)
val interval = VietorisRips(otherPoints, maxDimension = 2)
Persistence(ProductComplex(circle, interval)) // the homology of the product, by any engine
Barcode.kunneth(bars1, bars2) // the same bars from the bars of the factors
Both streams are held in memory, and the product has a cell for every pair, so this is for factors of a few hundred cells each. A factor cut off at a homological degree k (homologyDegreeLimit) makes the product accurate to the smaller of the two degrees. The bars carry chains of ProductCells, (left, right) being the cells of the factors.
Attributes
- Experimental
- true
- Source
- ProductComplex.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProductComplex.type
Members list
In this article