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: πŸŽ€

  • geometric
  • tdist
  • ugaussian
  • rayleigh
  • pascal
  • exponential
  • gumbel2
  • gumbel1
  • exppow
  • logistic
  • weibull
  • gaussian
  • poisson
  • beta
  • binomial
  • laplace
  • lognormal
  • cauchy
  • fdist
  • chisq
  • gamma
  • hypergeometric
  • negative
  • pareto
  • flat

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 (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