SortIndices

org.appliedtopology.tda4j.SortIndices
object SortIndices

A stable merge sort of the indices 0 until n by a strict "comes before" relation on indices, without boxing: the fast engines order millions of cells by values and keys held in primitive arrays.

Attributes

Experimental
true
Source
SortIndices.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def sort(n: Int, before: (Int, Int) => Boolean): Array[Int]

Attributes

Source
SortIndices.scala