ROTEX
Source Files
Modules
Procedures
Derived Types
Program
sort_index
Module Subroutine
MIT
26 statements
Source File
rotex__arrays.f
rotex__arrays
sort_index
Contents
public pure module subroutine sort_index(vals, idx)
Sort the array vals and return the permutation indices
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=dp),
intent(in)
::
vals
(:)
integer,
intent(out)
::
idx
(:)