|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/8.0.0/doc/ssclib/node69.html
Дата изменения: Wed Jul 2 03:52:40 2008 Дата индексирования: Fri Sep 5 18:38:37 2008 Кодировка: Поисковые слова: http www.astronomy.ru forum index.php topic 4644.0.html |
This returns the probability
of the occurrence of an integer
according to the Poisson distribution
where
is the average or expectation value of
.
Note that the argument may also be a real number. In this case what is returned is
The value
is not quite a probability density: it would need to be normalized by
in order for this to be true. However it does have the property that, if
,
.
interface poissonProb
real function poissonProbSingle(av, realI)
real(single), intent(in) :: av, realI
end function poissonProbSingle
real function poissonProbInt32(av, i)
real(single), intent(in) :: av
integer(int32), intent(in) :: i
end function poissonProbInt32
end interface