object SortingD
The SortingD
companion object provides shortcuts for calling methods from
the SortingD
class.
- Alphabetic
- By Inheritance
- SortingD
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
imedian(a: Array[Double], k: Int): Double
Indirectly find the median value in the array.
Indirectly find the median value in the array.
- a
the array to be examined
-
def
iqsort(a: Array[Double]): Array[Int]
Fast, ascending, unstable indirect sort.
Fast, ascending, unstable indirect sort.
- a
the array to be sorted
-
def
iselsort(a: Array[Double]): Array[Int]
Slow, ascending, stable indirect sort.
Slow, ascending, stable indirect sort.
- a
the array to be sorted
-
def
iselsort2(a: Array[Double]): Array[Int]
Slow, descending, stable indirect sort.
Slow, descending, stable indirect sort.
- a
the array to be sorted
-
def
median(a: Array[Double], k: Int): Double
Find the median value in the array.
Find the median value in the array.
- a
the array to be examined
-
def
qsort(a: Array[Double]): Unit
Fast, ascending, unstable sort.
Fast, ascending, unstable sort.
- a
the array to be sorted
-
def
qsort2(a: Array[Double]): Unit
Fast, descending, unstable sort.
Fast, descending, unstable sort.
- a
the array to be sorted
-
def
selsort(a: Array[Double]): Unit
Slow, ascending, stable sort.
Slow, ascending, stable sort.
- a
the array to be sorted
-
def
selsort2(a: Array[Double]): Unit
Slow, descending, stable sort.
Slow, descending, stable sort.
- a
the array to be sorted