ZigzagResult

org.appliedtopology.tda4j.matlab.ZigzagResult
final class ZigzagResult

The zigzag persistent homology of a sequence of simplicial complexes (TDA4j.zigzagFromSteps, zigzagFromComplexes): bars [birth, death) over the positions 0..lastPosition() of the sequence, a bar being a class that is in the homology of the complexes at the positions birth to death - 1 and in neither neighbour, with death infinite for a class still there at the last position. Each bar has a representative: a cycle in the complex at its birth.

Attributes

Experimental
true
Source
ZigzagResult.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def cycleCoefficients(i: Int): Array[Double]

The coefficients of bar i's representative, parallel to cycleVertices(i).

The coefficients of bar i's representative, parallel to cycleVertices(i).

Attributes

Source
ZigzagResult.scala
def cycleVertices(i: Int): Array[Array[Int]]

The simplices of bar i's representative, as arrays of vertex numbers.

The simplices of bar i's representative, as arrays of vertex numbers.

Attributes

Source
ZigzagResult.scala
def lastPosition(): Int

The last position of the sequence: the number of steps, or one less than the number of complexes.

The last position of the sequence: the number of steps, or one less than the number of complexes.

Attributes

Source
ZigzagResult.scala
def size(): Int

The number of bars.

The number of bars.

Attributes

Source
ZigzagResult.scala
def toArray(): Array[Array[Double]]

The bars as an N-by-3 matrix with a row (dimension, birth, death) for each.

The bars as an N-by-3 matrix with a row (dimension, birth, death) for each.

Attributes

Source
ZigzagResult.scala