URL: <https://savannah.gnu.org/bugs/?66775>
Summary: Feature: inverse poisson distribution
Group: GNU Scientific Library
Submitter: fermelelundi
Submitted: Mon 10 Feb 2025 08:36:26 PM UTC
Category: Build
Severity: 3 - Normal
Operating System:
Status: None
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 2.8
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 10 Feb 2025 08:36:26 PM UTC By: Fermé le Lundi <fermelelundi>
A naive implementation of the inverse poisson distribution: it simply finds
the infimum for the poisson distribution and analogously the supremum for the
poisson distribution through an iterative procedure.
No test cases or documentation provided, but tests can be conducted using the
attached test-file.
Additional administrative steps:
1- add both function names to `gsl_cdf.h`:
int gsl_cdf_poisson_Pinv (const double P, const double p, const unsigned int
n);
int gsl_cdf_poisson_Qinv (const double Q, const double p, const unsigned int
n);
2- add `poissoninv.c` to the list of SOURCES in Makefile.am.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: poissoninv.c Size: 2KiB
<https://file.savannah.gnu.org/file/poissoninv.c?file_id=56874>
-------------------------------------------------------
Name: test-poissoninv.c Size: 1KiB
<https://file.savannah.gnu.org/file/test-poissoninv.c?file_id=56875>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-9aa36b8aaaab70f75d4f4abb1d9f8d6bd3eed2b1.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66775>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
