Runing a FoxH code in Mathematica

Dear Hosam rh,
I am working a project that contains the calculation of the Fox H function. Could you please send a copy of your final version to me ?

Thanks a lot.

Dear Hosam rh,
I am working a project that contains the calculation of the Fox H function. Could you please send a copy of your final version to me ?
Thanks a lot.

Dear Hosam rh,
I am very interested in Fox H function, I hope that you can share me the final version of the implementation code.
Thank you and regards,

Dear Hosam rh,
I am working on a research paper that requires the calculation of the
Fox’s H function. I would appreciate it if you could you please send a
copy of your final version of your code sequence to me. The H Function
is a very very complex contour integration. Numerical methods is the
right approach to solving it.

Thank you.
T. Hassett

Hi, has anyone have a working copy of this implementation of the H function that wouldn’t mind sharing? I will be forever grateful.

thanks in advance

Hello, Just finding out if anyone can send me a working copy of the implementation of the H function.
thanks in advance.

The codes in Foxh.nb are true.
The correct usage of FoxH is

Example:

Usage.jpg

The results of MMA :

Hi Yulong,

Could you please send me a working copy of the H function code?

Thanks,
Assad

Dear Assad Akhlaq,

The H function code in the “Attachments: Foxh.nb” posted by Hosam rh is true. In the “Attachments: FoxH and Example.nb”, I just added an example. I hope this is what you wish.

Dear Yulong Fu,

Yes, I was able to run (yesterday) the FoxH function in the attached notebook. Now I am stuck with the FoxHbar function that is provided in the appendix B of the paper “New Results on the Sum of Gamma random Variates With Application to the Performance of Wireless Communication Systems over Nakagami-m Fading Channels”. I am not quite familiar with FoxH functions (just started looking at them 2 days ago). For FoxHBar function I am having trouble in calling the function. Some problem in the use of curly brackets. Could you please help me in its correct usage (if possible for you). FoxHBar is attached.

Thanks,
Assad

Dear Assad Akhlaq,

According to the Eq.(4) in the “New Results on the Sum of Gamma random Variates With Application to the Performance of Wireless Communication Systems over Nakagami-m Fading Channels” and the Fox’s Hbar definition Eq.(A.2), I think the use of FoxHBar is correct in the “Attachments: FoxHBar(1).nb”, but I do not know why the output is imaginary. I hope it helps you.

Dear Yulong Fu,

Thank you very much for your help. It is indeed very helpful for me. But I don’t understand how the brackets in the call to FoxHBar correspond to Eq.(4). Could you please help me understand it (i.e. could you please elaborate it)? I also want to use Eq. (27) of this paper now and without this understanding I can use Eq. (27).

Many thanks,
Assad

Dear Yulong Fu,

After giving it a bit of thought I understand that how these brackets are used during the call to FoxHBar. But when I used the same concept to use Eq.(27) I am not getting correct results. Am I right in defining ‘a’ and ‘b’ as below

a = { {1-m1/Omega1, 1, m1}, {1-m2/Omega2, 1, m2}, {1-m3/Omega3, 1, m3}, {1,1,1} }
b = { {-m1/Omega1, 1, m1}, {-m2/Omega2, 1, m2}, {-m3/Omega3, 1, m3}, {0,1,1} }
z = Exp[2];

and call FoxHBar as

1 + (m1/Omega1)^m1*(m2/Omega2)^m2*FoxHBar[ { a, {} }, { {}, b }, z ]

Please tell me if I am doing it wrong?

Thanks,
Assad

Runing a FoxH code in Mathematica

Dear Assad Akhlaq,

I think the result is very sensitive to R. R depends on numerator argument i.e.it must be at least half of the least valued gamma arguments (the annotation in the FoxH function codes). When you set R=-1/2, the output is correct.

Dear Yulong Fu,

What are the numerator arguments here (for example for L = 5)?

Thanks,
Assad

So numerator arguments are -m/Omega values and R should be least half of the least valued gamma arguments?

Dear Assad Akhlaq,

I hope the " Attachments: FoxHBar (2).nb" helps you.

Dear Yulong Fu,

Thank you very much. Very well explained. You are great!

Regards,
Assad

Dear Sir I am using the code but not able to get the correct results
for example for this FoxH[{{{-2, 1}}, {{}}}, {{{0, 1}}, {{}}}, -0.5] result is showing as 3.
I am confused how to provide input arguments.