Regularized Hypergeometric Function and Hypergeometric Function Syntax
조회 수: 20 (최근 30일)
이전 댓글 표시
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
채택된 답변
Antonio Ribeiro
2014년 5월 17일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!