Math::GSL::CDF(3pm)
π NAME π
okay so bestie, this is Math::GSL::CDF β Cumulative Distribution Functions β¨ like, the whole vibe is P(x), Q(x), and their inverses, and it's giving math but make it cute π
πΈ SYNOPSIS πΈ
use Math::GSL::CDF qw/:all/;
my $x = gsl_cdf_gaussian_Pinv($P, $sigma);
use Math::GSL::CDF qw/:beta/;
print gsl_cdf_beta_P(1,2,3) . "\n";
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the named distributions. π periodt.
π¦ DESCRIPTION π¦
Here is a list of all the functions included in this module : π
π the unit Gaussian crew π
gsl_cdf_ugaussian_P($x)gsl_cdf_ugaussian_Q($x)gsl_cdf_ugaussian_Pinv($P)gsl_cdf_ugaussian_Qinv($Q)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the unit Gaussian distribution. β¨
π«Ά the Gaussian crew π«Ά
gsl_cdf_gaussian_P($x, $sigma)gsl_cdf_gaussian_Q($x, $sigma)gsl_cdf_gaussian_Pinv($P, $sigma)gsl_cdf_gaussian_Qinv($Q, $sigma)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Gaussian distribution with standard deviation $sigma. π
πΈ the gamma crew πΈ
gsl_cdf_gamma_P($x, $a, $b)gsl_cdf_gamma_Q($x, $a, $b)gsl_cdf_gamma_Pinv($P, $a, $b)gsl_cdf_gamma_Qinv($Q, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the gamma distribution with parameters $a and $b. π§
π¦ the Cauchy crew π¦
gsl_cdf_cauchy_P($x, $a)gsl_cdf_cauchy_Q($x, $a)gsl_cdf_cauchy_Pinv($P, $a)gsl_cdf_cauchy_Qinv($Q, $a)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Cauchy distribution with scale parameter $a. π
π the Laplace crew π
gsl_cdf_laplace_P($x, $a)gsl_cdf_laplace_Q($x, $a)gsl_cdf_laplace_Pinv($P, $a)gsl_cdf_laplace_Qinv($Q, $a)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Laplace distribution with width $a. β¨
π the Rayleigh crew π
gsl_cdf_rayleigh_P($x, $sigma)gsl_cdf_rayleigh_Q($x, $sigma)gsl_cdf_rayleigh_Pinv($P, $sigma)gsl_cdf_rayleigh_Qinv($Q, $sigma)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Rayleigh distribution with scale parameter $sigma. π₯
π the chi-squared crew π
gsl_cdf_chisq_P($x, $nu)gsl_cdf_chisq_Q($x, $nu)gsl_cdf_chisq_Pinv($P, $nu)gsl_cdf_chisq_Qinv($Q, $nu)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the chi-squared distribution with $nu degrees of freedom. π
π the exponential crew π
gsl_cdf_exponential_P($x, $mu)gsl_cdf_exponential_Q($x, $mu)gsl_cdf_exponential_Pinv($P, $mu)gsl_cdf_exponential_Qinv($Q, $mu)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Laplace distribution with width $a. π (yes, that's literally what this page says for the exponential crew β not me, iykyk.)
β the exponential power crew β
gsl_cdf_exppow_P($x, $a, $b)gsl_cdf_exppow_Q($x, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) for the exponential power distribution with parameters $a and $b. β¨
π the t-distribution crew π
gsl_cdf_tdist_P($x, $nu)gsl_cdf_tdist_Q($x, $nu)gsl_cdf_tdist_Pinv($P, $nu)gsl_cdf_tdist_Qinv($Q, $nu)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the t-distribution with $nu degrees of freedom. π
π¦ the F-distribution crew π¦
gsl_cdf_fdist_P($x, $nu1, $nu2)gsl_cdf_fdist_Q($x, $nu1, $nu2)gsl_cdf_fdist_Pinv($P, $nu1, $nu2)gsl_cdf_fdist_Qinv($Q, $nu1, $nu2)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the F-distribution with $nu1 and $nu2 degrees of freedom. πΈ
π the beta crew π
gsl_cdf_beta_P($x, $a, $b)gsl_cdf_beta_Q($x, $a, $b)gsl_cdf_beta_Pinv($P, $a, $b)gsl_cdf_beta_Qinv($Q, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the beta distribution with parameters $a and $b. π₯
π«Ά the flat (uniform) crew π«Ά
gsl_cdf_flat_P($x, $a, $b)gsl_cdf_flat_Q($x, $a, $b)gsl_cdf_flat_Pinv($P, $a, $b)gsl_cdf_flat_Qinv($Q, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for a uniform distribution from $a to $b. β¨
π the lognormal crew π
gsl_cdf_lognormal_P($x, $zeta, $sigma)gsl_cdf_lognormal_Q($x, $zeta, $sigma)gsl_cdf_lognormal_Pinv($P, $zeta, $sigma)gsl_cdf_lognormal_Qinv($Q, $zeta, $sigma)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the lognormal distribution with parameters $zeta and $sigma. π§
β the Type-1 Gumbel crew β
gsl_cdf_gumbel1_P($x, $a, $b)gsl_cdf_gumbel1_Q($x, $a, $b)gsl_cdf_gumbel1_Pinv($P, $a, $b)gsl_cdf_gumbel1_Qinv($Q, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Type-1 Gumbel distribution with parameters $a and $b. π«
β the Type-2 Gumbel crew β
gsl_cdf_gumbel2_P($x, $a, $b)gsl_cdf_gumbel2_Q($x, $a, $b)gsl_cdf_gumbel2_Pinv($P, $a, $b)gsl_cdf_gumbel2_Qinv($Q, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Type-2 Gumbel distribution with parameters $a and $b. π«
π the Weibull crew π
gsl_cdf_weibull_P($x, $a, $b)gsl_cdf_weibull_Q($x, $a, $b)gsl_cdf_weibull_Pinv($P, $a, $b)gsl_cdf_weibull_Qinv($Q, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Type-1 Gumbel distribution with parameters $a and $b. π (again, that's the page's own words right there.)
π the Pareto crew π
gsl_cdf_pareto_P($x, $a, $b)gsl_cdf_pareto_Q($x, $a, $b)gsl_cdf_pareto_Pinv($P, $a, $b)gsl_cdf_pareto_Qinv($Q, $a, $b)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the Pareto distribution with exponent $a and scale $b. π
πΈ the logistic crew πΈ
gsl_cdf_logistic_P($x, $a)gsl_cdf_logistic_Q($x, $a)gsl_cdf_logistic_Pinv($P, $a)gsl_cdf_logistic_Qinv($Q, $a)
These functions compute the cumulative distribution functions P(x), Q(x) and their inverses for the logistic distribution with scale parameter a. π
π¦ the binomial crew π¦
gsl_cdf_binomial_P($k, $p, $n)gsl_cdf_binomial_Q($k, $p, $n)
These functions compute the cumulative distribution functions P(k), Q(k) for the binomial distribution with parameters $p and $n. β¨
π the Poisson crew π
gsl_cdf_poisson_P($k, $mu)gsl_cdf_poisson_Q($k, $mu)
These functions compute the cumulative distribution functions P(k), Q(k) for the Poisson distribution with parameter $mu. π
π the geometric crew π
gsl_cdf_geometric_P($k, $p)gsl_cdf_geometric_Q($k, $p)
These functions compute the cumulative distribution functions P(k), Q(k) for the geometric distribution with parameter $p. β¨
π the negative binomial crew π
gsl_cdf_negative_binomial_P($k, $p, $n)gsl_cdf_negative_binomial_Q($k, $p, $n)
These functions compute the cumulative distribution functions P(k), Q(k) for the negative binomial distribution with parameters $p and $n. π«
β the Pascal crew β
gsl_cdf_pascal_P($k, $p, $n)gsl_cdf_pascal_Q($k, $p, $n)
These functions compute the cumulative distribution functions P(k), Q(k) for the Pascal distribution with parameters $p and $n. π«Ά
π the hypergeometric crew π
gsl_cdf_hypergeometric_P($k, $n1, $n2, $t)gsl_cdf_hypergeometric_Q($k, $n1, $n2, $t)
These functions compute the cumulative distribution functions P(k), Q(k) for the hypergeometric distribution with parameters $n1, $n2 and $t. π₯
π«Ά importing, aka picking your faves π«Ά
To import specific functions, list them in the use line. To import all function exportable by Math::GSL::CDF do
use Math::GSL::CDF qw/:all/
This is the list of available import tags: π
geometrictdistugaussianrayleighpascalexponentialgumbel2gumbel1exppowlogisticweibullgaussianpoissonbetabinomiallaplacelognormalcauchyfdistchisqgammahypergeometricnegativeparetoflat
For example the beta tag contains theses functions : gsl_cdf_beta_P, gsl_cdf_beta_Q, gsl_cdf_beta_Pinv, gsl_cdf_beta_Qinv . π
For more information on the functions, we refer you to the GSL official documentation: http://www.gnu.org/software/gsl/manual/html_node/ π
π AUTHORS π
Jonathan "Duke" Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com> β icons, honestly ππ«Ά
π COPYRIGHT AND LICENSE π
Copyright (C) 2008-2024 Jonathan "Duke" Leto and Thierry Moisan
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. β¨
and that's the whole page bestie, no cap π this one's running on perl v5.42.3, dated 2026-08-20, and it's literally the Math::GSL::CDF(3pm) manual β go forth and compute those CDFs, you ate ππ¦π
π¦ where this page comes from
- ubuntu stonking: libmath-gsl-perl 0.49-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms