freealg.distributions.CompoundFreePoisson.poly#
- CompoundFreePoisson.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 CompoundFreePoisson >>> # Create an object of the class >>> cfp = CompoundFreePoisson(t=[2.0, 5.5], w=[0.75, 1-0.75], ... lam=0.1) >>> coeffs = fl.poly() >>> print(coeffs.real) [[ 1. 7.2125 9.9 -0. ] [ 0. 1. 7.5 11. ]]