VEX Dictionary / reorder
reorder
Reorders the elements of a string or array according to a list of indices, such as from argsort.
group: array
Available in every context
Usage
string reorder(string value; int indices[])
<type>[] reorder(<type> values[]; int indices[])
Examples
No worked examples yet.
Signatures (from vcc -X)
string reorder(string, int[])all contextsmatrix2[] reorder(matrix2[], int[])all contextsmatrix3[] reorder(matrix3[], int[])all contextsmatrix[] reorder(matrix[], int[])all contextsdict[] reorder(dict[], int[])all contextsfloat[] reorder(float[], int[])all contextsint[] reorder(int[], int[])all contextsvector4[] reorder(vector4[], int[])all contextsstring[] reorder(string[], int[])all contextsvector2[] reorder(vector2[], int[])all contextsvector[] reorder(vector[], int[])all contexts