Orthogonalization
org.appliedtopology.tda4j.HarmonicChainBarcode.Orthogonalization
enum Orthogonalization
How the chain a positive cell creates is made orthogonal to every older cycle (the step of Algorithm 1 that costs memory). Both give the same chain: the one cycle with coefficient 1 on the cell that is orthogonal to the cycles of the complex before it. Over the rationals the two agree term for term. Over the reals every decision of the algorithm is a test against the field's tolerance, so on a large complex with many near ties a cycle that is almost orthogonal to a boundary can be judged differently by the two, and a few bars are then paired differently; Coefficients.Rationals gives the exact pairing.
GramSchmidt: the orthogonal basis of all the cycles of the degree is kept, and the new chain is orthogonalised against it. The basis grows with every positive cell and holds a dense chain for each.LaplacianSolve: nothing is kept but the boundaries and an index of the cofaces. Withz = e_σ + ∂ᵀ y,ysolves(∂ ∂ᵀ) y = -∂σon the cells of the degree below, the boundary∂being that of the cells ofσ's dimension that entered before it (conjugate gradient, which finishes exactly over the rationals). The memory is a fraction of the basis; over the reals the solve stops when its residual is zero to the field's tolerance, and gives up with an error that names the alternatives if it does not get there.
Attributes
- Source
- HarmonicChainBarcode.scala
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article