HYPERG(3pm)
β¨ HYPERG(3pm) β¨
okay bestie so you opened the HYPERG(3pm) manual page and it's giving math girlie energy, so let's get into it π
πΈ NAME πΈ
PDL::GSLSF::HYPERG β it's the PDL interface to GSL Special Functions, and yes that's a lot of capital letters but we move π
π¦ DESCRIPTION π¦
So basically this is an interface to the Special Function package that lives inside the GNU Scientific Library (aka GSL, aka the icon). That's the whole description, she's brief, she's mysterious, we respect her π
π FUNCTIONS π
π gsl_sf_hyperg_0F1
Signature goes a lil something like this:
Signature: (double x(); double [o]y(); double [o]e(); double c)
and then the original page drops this whole comment block, so here it is verbatim because it's literally the math:
/* Hypergeometric function related to Bessel functions 0F1[c,x] =
Gamma[c] x^(1/2(1-c)) I_{c-1}(2 Sqrt[x]) Gamma[c] (-x)^(1/2(1-c))
J_{c-1}(2 Sqrt[-x])
ngl, gsl_sf_hyperg_0F1 does not process bad values. The way it works: if the bad-value flag is set for any of the input ndarrays, it will set the bad-value flag of all the output ndarrays. That's the deal, no cap π«Ά
π gsl_sf_hyperg_1F1
Signature:
Signature: (double x(); double [o]y(); double [o]e(); double a; double b)
Confluent hypergeometric function for integer parameters, and the vibe is 1F1[a,b,x] = M(a,b,x) β¨
fr fr, gsl_sf_hyperg_1F1 does not process bad values either. Bad-value flag set on any input ndarray β bad-value flag set on all output ndarrays. Every time π
π gsl_sf_hyperg_U
Signature:
Signature: (double x(); double [o]y(); double [o]e(); double a; double b)
Confluent hypergeometric function for integer parameters, and it's just U(a,b,x) π§
gsl_sf_hyperg_U does not process bad values. Same rule as always: flag set on any input ndarray means flag set on all output ndarrays π
π gsl_sf_hyperg_2F1
Signature:
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Confluent hypergeometric function for integer parameters, and it's 2F1[a,b,c,x] π
gsl_sf_hyperg_2F1 does not process bad values. Any input ndarray has the flag set β all output ndarrays get the flag set. iconic behavior honestly π
π gsl_sf_hyperg_2F1_conj
Signature:
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Gauss hypergeometric function, and she's 2F1[aR + I aI, aR - I aI, c, x] π
gsl_sf_hyperg_2F1_conj does not process bad values. Bad-value flag set on any input ndarray β set on all output ndarrays, periodt π
π gsl_sf_hyperg_2F1_renorm
Signature:
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Renormalized Gauss hypergeometric function: 2F1[a,b,c,x] / Gamma[c] β¨
gsl_sf_hyperg_2F1_renorm does not process bad values. Flag set on any input ndarray β flag set on all output ndarrays π¦
π gsl_sf_hyperg_2F1_conj_renorm
Signature:
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Renormalized Gauss hypergeometric function, and the formula is 2F1[aR + I aI, aR - I aI, c, x] / Gamma[c] π
gsl_sf_hyperg_2F1_conj_renorm does not process bad values. Any input ndarray with the flag set β all output ndarrays with the flag set. You know the drill by now π
π gsl_sf_hyperg_2F0
Signature:
Signature: (double x(); double [o]y(); double [o]e(); double a; double b)
Mysterious hypergeometric function. π and here's the tea: the series representation is a divergent hypergeometric series. However, for x < 0 we have:
2F0(a,b,x) = (-1/x)^a U(a,1+a-b,-1/x)
so it's not all chaos, there's a little escape hatch for negative x πΈ
gsl_sf_hyperg_2F0 does not process bad values. If the flag is set for any of the input ndarrays, it sets the bad-value flag of all output ndarrays. no notes π
π AUTHOR π
This file is copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> β All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For the details, go look at the file COPYING in the PDL distribution. And if this file ever gets separated from the PDL distribution, the copyright notice should be included in the file. π«Ά
Also, the GSL SF modules were written by G. Jungman. Legends only β
and that's the whole page bestie β this was HYPERG(3pm) from perl v5.38.2, dated 2024-04-10. tysm for reading, go forth and compute your hypergeometric functions, you absolute main character πβ¨
π¦ where this page comes from
- ubuntu noble: pdl 1:2.085-1ubuntu1 Β· 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