|
SecreC 2 language
2.8.0 (2023.09)
Language and standard library reference
|
Functions | |
| template<type T> | |
| T | sort (T[[1]] x, bool ascending) |
Sort a public vector.
| x | - vector to be sorted |
| ascending | - boolean indicating if the input should be sorted in ascending or descending order |
x sorted according to the ordering specified by ascending | T sort | ( | T[[1]] | x, |
| bool | ascending | ||
| ) |