MOD_DSORT Module

Sort double precision array returning sorted index array


Subroutines

public subroutine DSORT(W, IND, IMAX, POS)

Author
P. Zahn
Date
April 96
License
Creative Commons License
Category
KKRimp, numerical-tools

S o r t

d o u b l e

p r e c i s i o n

a r r a y

r e t u r n i n g

s o r t e d

i n d e x

a r r a y

Read more…

Arguments

Type IntentOptional Attributes Name
double precision :: W(:)

Original array returned unchanged

integer :: IND(:)

Array that holds the new positions

integer :: IMAX

Number of elements to be sorted

integer :: POS

Position where the first element is found