org.appliedtopology.tda4j.EulerCharacteristicCurve
See theEulerCharacteristicCurve companion object
The Euler characteristic of a filtered complex as a function of the scale: the number of vertices, minus the edges, plus the triangles, ... of the cells with filtration value at most t. It is a step function, so the curve keeps the scales where it steps and the value from there on.
val curve = EulerCharacteristicCurve(points) // Vietoris-Rips, simplices up to dimension 2
curve(0.3) // the Euler characteristic at scale 0.3
curve.sample(0.0, 1.0, 50) // 50 evenly spaced samples
A vectorization that needs no persistence: EulerCharacteristicCurve.apply counts the cliques of every edge's lens graph, so it stores no simplices and sorts nothing.
Value parameters
- scales
-
The scales where the curve changes, strictly increasing; for a point cloud the first is
0.0, where the vertices appear. - values
-
values(i)is the Euler characteristic fromscales(i)up to (not including)scales(i + 1).
Attributes
- Companion
- object
- Experimental
- true
- Source
- EulerCharacteristicCurve.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article