freealg.distributions.FreeLevy.poly#

FreeLevy.poly()#

Polynomial coefficients implicitly representing the Stieltjes

Returns:
coeffsnumpy.ndarray

A 2D array of size \((d_z + 1) \times (d_m + 1)\) where \(d_z = \deg_z(P)\) and \(d_m = \deg_m(P)\).

Notes

coeffs[i, j] is the coefficient of \(z^i m^j\).

Examples

>>> from freealg.distributions import FreeLevy

>>> # Create an object of the class
>>> fl = FreeLevy(t=[2.0, 5.5], w=[0.75, 1-0.75], lam=0.1, a=0,
...               sigma=1.0)

>>> coeffs = fl.poly()
>>> print(coeffs.real)
[[ 1.      7.2125 10.9     7.5    11.    ]
 [ 0.      1.      7.5    11.     -0.    ]]