Description Usage Arguments Value Examples
The sorted vector is returned along with the original index of the vector it belonged to.
1 | pairSort(x)
|
x |
A real-valued vector to be sorted. |
A list with two components:
sorted: The sorted version of x
.
index: The index of the i^{th} element in x
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.