CubeBoxes
org.appliedtopology.tda4j.CubeBoxes
Cubes of one grid built cheaply: a Vector[Int] holds its coordinates boxed, so every coordinate's box is made once per grid (doubled coordinates run up to 2 shape(i)), and the vector is made directly at its size. The result is an ordinary Vector[Int], equal to and hashing like Vector.tabulate's; a cube costs a vector and an array.
Attributes
- Experimental
- true
- Source
- FastCubicalHomology.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article