Package jline.lib.butools.mam
Class MG1StationaryDistrKt
-
- All Implemented Interfaces:
public final class MG1StationaryDistrKt
-
-
Method Summary
Modifier and Type Method Description final static Matrixmg1StationaryDistr(List<Matrix> A, List<Matrix> B, Matrix G, Integer K, Double prec)Returns the stationary distribution of the M/G/1 type Markov chain up to a given level K. final static Matrixmg1StationaryDistr(Array<Matrix> A, Array<Matrix> B, Matrix G, Integer K, Double prec)Overload accepting Array<Matrix> for A and B. -
-
Method Detail
-
mg1StationaryDistr
final static Matrix mg1StationaryDistr(List<Matrix> A, List<Matrix> B, Matrix G, Integer K, Double prec)
Returns the stationary distribution of the M/G/1 type Markov chain up to a given level K.
Uses the stable Ramaswami formula for computing the stationary distribution.
- Parameters:
A- List of matrix blocks of the M/G/1 type generator in the regular part, from 0 to MA-1.B- List of matrix blocks of the M/G/1 type generator at the boundary, from 0 to MB-1.G- Matrix G of the M/G/1 type Markov chain (N x N), as returned by mg1FundamentalMatrix.K- The stationary distribution is returned up to this level (default 500).prec- Numerical precision (default 1e-14).- Returns:
The stationary probability vector up to level K, shape (1, (K+1)*N)
-
-
-
-