Layer

org.appliedtopology.tda4j.FlatLayerStream.Layer
open class Layer(val dim: Int, val vertices: Array[Int], val values: Array[Double])

One dimension of a complex on flat arrays, oldest cell first: ascending value, equal values in ascending colexicographic order of the vertices (the order a persistent-cohomology reduction takes the cells in, and the reverse of each run of equal values in the stream's own listing).

Cell i has the ascending vertices vertices(i * (dim + 1) until (i + 1) * (dim + 1)) and the filtration value values(i).

Attributes

Source
FlatLayerStream.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def simplex(i: Int): Simplex[Int]

Cell i as a Simplex.

Cell i as a Simplex.

Attributes

Source
FlatLayerStream.scala
def simplicesInStreamOrder: Vector[Simplex[Int]]

The cells as simplices in the stream's own listing order: ascending value, equal values in descending colexicographic order.

The cells as simplices in the stream's own listing order: ascending value, equal values in descending colexicographic order.

Attributes

Source
FlatLayerStream.scala
def size: Int

Attributes

Source
FlatLayerStream.scala

Concrete fields

val dim: Int

Attributes

Source
FlatLayerStream.scala
val values: Array[Double]

Attributes

Source
FlatLayerStream.scala
val vertices: Array[Int]

Attributes

Source
FlatLayerStream.scala