Spectrum

org.appliedtopology.tda4j.PersistentLaplacian.Spectrum
abstract class Spectrum[CellT]

What a persistent Laplacian is, whichever way it was built: a symmetric positive semidefinite matrix Δ = X X^T on cells, for a factor X with a column for each boundary and coboundary direction, so that the eigenvalues are the squares of its singular values (no squared condition number) and the kernel is found by the rank of X.

Attributes

Source
PersistentLaplacian.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MapResult[CellT]
class Result[CellT]

Members list

Value members

Concrete fields

lazy val bettiNumber: Int

The dimension of the kernel, the number of eigenvalues that are zero to rounding: the persistent Betti number, the rank of the map the Laplacian belongs to on homology.

The dimension of the kernel, the number of eigenvalues that are zero to rounding: the persistent Betti number, the rank of the map the Laplacian belongs to on homology.

Attributes

Source
PersistentLaplacian.scala
val cells: Vector[CellT]

Attributes

Source
PersistentLaplacian.scala
val dimension: Int

Attributes

Source
PersistentLaplacian.scala
lazy val eigenvalues: Vector[Double]

The eigenvalues, smallest first, as many as there are cells.

The eigenvalues, smallest first, as many as there are cells.

Attributes

Source
PersistentLaplacian.scala
lazy val kernel: Vector[Chain[CellT, Double]]

An orthonormal basis of the kernel, bettiNumber chains on cells: the persistent harmonic chains. Their classes are a basis of the image of the map on homology. The space is canonical and the basis is not (a kernel of dimension one is its chain up to sign: each is signed to make its first nonzero entry, in the order of cells, positive); entries below 1e-12 are left out. Computed from a second singular value decomposition, of the transpose of the factor, whose right singular vectors are an orthogonal matrix by construction, whatever the rounding. The coefficients are those of the chain on the cells (the orthonormal coordinates of the matrix are scaled back).

An orthonormal basis of the kernel, bettiNumber chains on cells: the persistent harmonic chains. Their classes are a basis of the image of the map on homology. The space is canonical and the basis is not (a kernel of dimension one is its chain up to sign: each is signed to make its first nonzero entry, in the order of cells, positive); entries below 1e-12 are left out. Computed from a second singular value decomposition, of the transpose of the factor, whose right singular vectors are an orthogonal matrix by construction, whatever the rounding. The coefficients are those of the chain on the cells (the orthonormal coordinates of the matrix are scaled back).

Attributes

Source
PersistentLaplacian.scala
lazy val matrix: DenseMatrix

The matrix of Δ, on cells, in the basis of the cells scaled to length one (the cells themselves, unless PersistentLaplacian.ofMap merged cells: see there).

The matrix of Δ, on cells, in the basis of the cells scaled to length one (the cells themselves, unless PersistentLaplacian.ofMap merged cells: see there).

Attributes

Source
PersistentLaplacian.scala
lazy val spectralGap: Option[Double]

The smallest eigenvalue that is not zero to rounding, if there is one.

The smallest eigenvalue that is not zero to rounding, if there is one.

Attributes

Source
PersistentLaplacian.scala
val weights: Vector[Double]

Attributes

Source
PersistentLaplacian.scala