Vietoris-Rips, or any filtration monotone along faces given as filtrationValueOverride, built dimension by dimension from the cofaces of the simplices kept in the dimension below (the loop Cech, Witness, Dowker, DtmRips and SparseRips reuse). keepCriterion and maxFiltrationValue decide what is kept; the criterion must be closed under faces (see CofaceSimplexStream.keepCriterion). It is asked about each candidate that has a kept facet, whether the stream builds its dimensions with the coface loop or with flatGenerator, which cuts each dimension to what the criterion keeps before generating the next from it.
The dimensions 0, 1, ... as FlatLayerStream.Layers, each built when the iterator reaches it, up to the last one that has a cell. None for a stream that cannot give its cells as arrays (then iterate it for cells).
The dimensions 0, 1, ... as FlatLayerStream.Layers, each built when the iterator reaches it, up to the last one that has a cell. None for a stream that cannot give its cells as arrays (then iterate it for cells).
The cells of dimension d, oldest first. The domain must be contiguous from 0 (0, 1, ..., k, or empty, or all of the naturals): iterator stops at the first dimension where this is undefined.
The cells of dimension d, oldest first. The domain must be contiguous from 0 (0, 1, ..., k, or empty, or all of the naturals): iterator stops at the first dimension where this is undefined.
Some(k) for a complex cut off to compute homology in degrees 0..k (what VietorisRips(points, maxDimension = k) returns, holding cells up to dimension k + 1): its higher degrees are not the homology of the full complex. None (the default) for a complete complex.
Some(k) for a complex cut off to compute homology in degrees 0..k (what VietorisRips(points, maxDimension = k) returns, holding cells up to dimension k + 1): its higher degrees are not the homology of the full complex. None (the default) for a complete complex.
def stepper[S <: Stepper[_]](implicit shape: StepperShape[Simplex[Int], S]): S
Returns a scala.collection.Stepper for the elements of this collection.
Returns a scala.collection.Stepper for the elements of this collection.
The Stepper enables creating a Java stream to operate on the collection, see scala.jdk.StreamConverters. For collections holding primitive values, the Stepper can be used as an iterator which doesn't box the elements.
The implicit scala.collection.StepperShape parameter defines the resulting Stepper type according to the element type of this collection.
For collections of Int, Short, Byte or Char, an scala.collection.IntStepper is returned
For collections of Double or Float, a scala.collection.DoubleStepper is returned
For collections of Long a scala.collection.LongStepper is returned
For any other element type, an scala.collection.AnyStepper is returned
Note that this method is overridden in subclasses and the return type is refined to S with EfficientSplit, for example scala.collection.IndexedSeqOps.stepper. For Steppers marked with scala.collection.Stepper.EfficientSplit, the converters in scala.jdk.StreamConverters allow creating parallel streams, whereas bare Steppers can be converted only to sequential streams.
Filtration value reversed, then dimension, then colexicographic order of the vertex sets (their combinatorial index), the refinement Ripser's apparent pairs are defined with. A total order: without a tie-break, a triangle and its longest edge would compare equal and collide in the reduction. iterateDimension sorts by this same ordering reversed, so iteration order and pivot order agree.
Filtration value reversed, then dimension, then colexicographic order of the vertex sets (their combinatorial index), the refinement Ripser's apparent pairs are defined with. A total order: without a tie-break, a triangle and its longest edge would compare equal and collide in the reduction. iterateDimension sorts by this same ordering reversed, so iteration order and pivot order agree.