PersistenceMapResult

org.appliedtopology.tda4j.matlab.PersistenceMapResult
final class PersistenceMapResult

The map on persistent homology induced by a map of Vietoris-Rips complexes, for MATLAB and Java: every method takes and returns only int, double and arrays of those (TDA4j.computeInclusionFromPoints and its relatives make one).

In each degree k from 0 to maxDimension the map is a matrix with a row for each bar of the target and a column for each bar of the source (sourceBars and targetBars, the bars of positive length of that degree in the order the matrix uses). entries lists its nonzero entries, and image, kernel and cokernel are the barcodes of what survives from the source in the target, what the map sends to zero and when, and what only the target has. Each barcode is an N-by-2 matrix of birth and death (Infinity for a class that never dies).

Attributes

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

Members list

Value members

Concrete methods

def characteristic(): Int

The prime p of the coefficient field Z/p both diagrams were computed over.

The prime p of the coefficient field Z/p both diagrams were computed over.

Attributes

Source
PersistenceMapResult.scala
def cokernel(k: Int): Array[Array[Double]]

The bars of the cokernel in degree k: what the target has that does not come from the source.

The bars of the cokernel in degree k: what the target has that does not come from the source.

Attributes

Source
PersistenceMapResult.scala
def entries(k: Int): Array[Array[Double]]

The nonzero entries of the matrix in degree k: rows of (source bar, target bar, coefficient), the bars as 0-based positions in sourceBars and targetBars, the coefficient an integer (balanced over Z/p).

The nonzero entries of the matrix in degree k: rows of (source bar, target bar, coefficient), the bars as 0-based positions in sourceBars and targetBars, the coefficient an integer (balanced over Z/p).

Attributes

Source
PersistenceMapResult.scala
def image(k: Int): Array[Array[Double]]

The bars of the image in degree k: the classes of the source that are not zero in the target.

The bars of the image in degree k: the classes of the source that are not zero in the target.

Attributes

Source
PersistenceMapResult.scala
def kernel(k: Int): Array[Array[Double]]

The bars of the kernel in degree k: what the map sends to zero, at the time it does.

The bars of the kernel in degree k: what the map sends to zero, at the time it does.

Attributes

Source
PersistenceMapResult.scala
def maxDimension(): Int

The top degree computed.

The top degree computed.

Attributes

Source
PersistenceMapResult.scala
def sourceBars(k: Int): Array[Array[Double]]

The bars of the source in degree k that the matrix has a column for: rows of (birth, death).

The bars of the source in degree k that the matrix has a column for: rows of (birth, death).

Attributes

Source
PersistenceMapResult.scala
def targetBars(k: Int): Array[Array[Double]]

The bars of the target in degree k that the matrix has a row for: rows of (birth, death).

The bars of the target in degree k that the matrix has a row for: rows of (birth, death).

Attributes

Source
PersistenceMapResult.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
PersistenceMapResult.scala