Regularized Hypergeometric Function and Hypergeometric Function Syntax
20 views (last 30 days)
Show older comments
Hi MatLab have the same Syntax for both Hypergeometric Function and Regularized Hypergeometric Function;
hypergeom(a,b,z)
BUT they are not the same, so How can you differentiate between them?
Thanks
0 Comments
Accepted Answer
Antonio Ribeiro
on 17 May 2014
I think you don't need this answer anymore but in order to clarify future queries about this, one could check the hypergeometric definitions in NIST .
In particular, for scalar a and b, the confluent hypergeometric function is defined as 1F1(a;b;z) and its regularized form is given by 1~F1(a;b;z) = 1F1(a;b;z) / gamma(b) (see NIST eq. (13.2.4)). In this reference 1F1(a;b;z) is represented as M(a;b;z) and 1~F1(a;b;z) is M(a;b;z) with M in bold. In MATLAB, 1F1(a;b;z) is called by
>> hypergeom(a,b,z)
and its regularized form is
>> hypergeom(a,b,z) / gamma(b)
a, b, z can be either numeric or symbolic.
For scalar a, b, and c, the gauss hypergeometric function is defined as 2F1(a,b;c;z) and its regularized form is given by 2~F1(a,b;c;z) = 2F1(a,b;c;z) / gamma(c) (see NIST eq. (15.1.2) and eq. (15.2.2)). In MATLAB:
>> hypergeom([a,b],c,z) % 2F1
>> hypergeom([a,b],c,z) / gamma(c) % 2F1 regularized.
1 Comment
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!