FlatLayerStream

org.appliedtopology.tda4j.FlatLayerStream
See theFlatLayerStream companion object

A stream of simplices with Int vertices and Double values that can hand over its dimensions as flat arrays, without building a Simplex for each cell. A cohomology engine (CellularCohomologyEngine) reduces such a stream straight from the arrays, and builds a Simplex only for the cells of the representatives it returns.

The coface streams behind Cech, Witness, Dowker, DtmRips and SparseRips are the implementations. To build a new filtered complex on arrays, extend RipserCofaceSimplexStream and give it a RipserCofaceSimplexStream.FlatFiltration.

Attributes

Companion
object
Experimental
true
Source
FlatLayerStream.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def flatLayers: Option[Iterator[Layer]]

The dimensions 0, 1, ... as FlatLayerStream.Layers, each built when the iterator reaches it, up to the last one that has a cell. None for a stream that cannot give its cells as arrays (then iterate it for cells).

The dimensions 0, 1, ... as FlatLayerStream.Layers, each built when the iterator reaches it, up to the last one that has a cell. None for a stream that cannot give its cells as arrays (then iterate it for cells).

Attributes

Source
FlatLayerStream.scala