Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/8.0.0/doc/ssclib/node17.html
Дата изменения: Wed Jul 2 03:52:39 2008
Дата индексирования: Fri Sep 5 18:38:07 2008
Кодировка:

Поисковые слова: arp 220
Median XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


ssclib (ssclib-3.33.4) [xmmsas_20080701_1801-8.0.0]

Trapezoid-rule, 1-D, numerical integral Array or vector scalar Value at histogram fraction Home Index

Meta Index / Home Page / General-purpose array-processing utilities / Array or vector scalar

Median

This function calculates the median value of the supplied 1- or 2-d array. The function sorts the array values: if the number of elements is odd, the central element of the sorted list is returned; if even, the element in the lower of the two central elements is returned.

  interface median
    real(single) function medianVector(array)
      real(single), intent(in) :: vector(:)
    end function medianVector

    real(single) function medianArray(array)
      real(single), intent(in) :: array(:,:)
    end function medianArray
  end interface



XMM-Newton SOC/SSC -- 2008-07-01