Let
The inner sum is over the integer partitions
when
is a symmetric homogeneous polynomial of degree
The series defining the hypergeometric function does not always converge. See the references for a discussion about the convergence.
The inner sum in the definition of the hypergeometric function is over
all partitions
For
Koev and Edelman (2006) provided an efficient algorithm for the evaluation of the truncated series
Hereafter,
For example, to compute
you have to enter
hypergeomat 15 2 [3.0, 4.0], [5.0, 6.0, 7.0] [0.1, 0.4]
We said that the hypergeometric function is defined for a real symmetric
matrix or a complex Hermitian matrix hypergeomatrix
.
The user can enter any list of real or complex numbers for the eigenvalues.
The library allows to use Gaussian rational numbers, i.e. complex numbers
with a rational real part and a rational imaginary part. The Gaussian rational
number a +: b
, e.g. (2%3) +: (5%2)
. The imaginary
unit usually denoted by e(4)
:
ghci> import Math.HypergeoMatrix
ghci> import Data.Ratio
ghci> alpha = 2%1
ghci> a = (2%7) +: (1%2)
ghci> b = (1%2) +: (0%1)
ghci> c = (2%1) +: (3%1)
ghci> x1 = (1%3) +: (1%4)
ghci> x2 = (1%5) +: (1%6)
ghci> hypergeomat 3 alpha [a, b] [c] [x1, x2]
26266543409/25159680000 + 155806638989/3698472960000*e(4)
For
Since
ghci> h <- hypergeomat 300 2 [1/4, 1/2] [3/4] [80/81]
ghci> h
1.7990026528192298
-
Plamen Koev and Alan Edelman. The efficient evaluation of the hypergeometric function of a matrix argument. Mathematics of computation, vol. 75, n. 254, 833-846, 2006.
-
Robb Muirhead. Aspects of multivariate statistical theory. Wiley series in probability and mathematical statistics. Probability and mathematical statistics. John Wiley & Sons, New York, 1982.
-
A. K. Gupta and D. K. Nagar. Matrix variate distributions. Chapman and Hall, 1999.