Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/miriad/progguide/node45.html
Дата изменения: Unknown Дата индексирования: Tue Feb 5 09:24:59 2013 Кодировка: Поисковые слова: п п р п р п р п р п р п р п р п р п р п р п р п р п р п р п |
subroutine whenxxx(n,array,step,target,index,nindex) integer function isrchxxx(n,array,step,target)The when routines return the indices of all locations in an array that have a ``true relational value'' to the target. See page 4-64 of the Cray ``Library Reference Manual'' for more information. The isrch routines return the first location in an array that has a ``true relational value'' to the target. See page 4-59 of the Cray ``Library Reference Manual''. For both routines, ``xxx'' can be one of ieq, ine, ilt, ile, igt, ige, feq, fne, flt, fle, fgt or fge. These give the type of array (Integer or Floating), and the relation (equal, not equal, less than, etc).
Because these are well optimized routines, these routines should be used in preference to straightforward FORTRAN code that performs an equivalent function.