Thanks for quick replay. As I understand this routine returns the PCT-th maximum in array. For example if I have an array {2,6,1,9} then SELECTION(2,4,array) will return 6?.
By the way, which is the name of that book (any links please).
Thanks
Hi falks,
In fortran code I met the procedure SELECTION which I gues is related to Numerical Recipes (The code has such comment "C From Numerical Recipes - find obs. ranked PCT in array TEMPN:") and looks like this -
WCTF=SELECTION(PCT,N,TEMPN)
WCTF - REAL*8
PCT - INTEGER
N - INTEGER
TEMPN -...
Thank you xwd, but really I have no ideas how it should look like. I guess that it should be a standard procedure, but haven't found something similar to it. I have code from where this procedure called
CALL DENEST(TEMPN,N,DLO,DHI,WIN,FT,SMOOTH,M,ICAL,IFAULT)
where TEMPN(N), FT(M), SMOOTH(M)...