freealg.distributions.DeformedWigner#
- class freealg.distributions.DeformedWigner(t, w, sigma=1.0)#
Deformed Wiger distribution
- Parameters:
- tarray_like
Array \([t_1, \dots, t_r]\), where \(t_i\) is the jump location \(\delta_{t_i}\) in the discrete distribution \(H\) (see notes below).
- warray_like
Array \([w_1, \dots, w_r]\), where \(w_i\) is the jump weights of \(\delta_{t_i}\) in the discrete distribution \(H\) (see notes below). The sum of all weights must be one: \(\sum_{i=1}^r w_i = 1\).
- sigmafloat, default=0.0
Semicircle standard deviation \(\sigma\) (variance is \(\sigma^2\)).
Methods
density([x, eta, plot, latex, save, eig])Density of distribution.
roots(z)Roots of polynomial implicitly representing Stieltjes transform
support([eta])Support intervals of distribution
sample(size[, x_min, x_max, method, seed, ...])Sample from distribution.
matrix(size[, seed])Generate matrix with the spectral density of the distribution.
poly()Polynomial coefficients implicitly representing the Stieltjes
stieltjes
Stieltjes transform