SortPackage(S, A)ΒΆ
sortpak.spad line 1 [edit on github]
S: Type
A: Join(IndexedAggregate(Integer, S), finiteAggregate, shallowlyMutable)
This package exports sorting algorithnms
- bubbleSort!: (A, (S, S) -> Boolean) -> A
bubbleSort!(a, f)
undocumented
- bubbleSort!: A -> A if S has OrderedSet
bubbleSort!(a)
undocumented
- insertionSort!: (A, (S, S) -> Boolean) -> A
insertionSort!(a, f)
undocumented
- insertionSort!: A -> A if S has OrderedSet