1% [alpha, A] = MarginalDistributionFromMMAP(D, precision)
3% Returns the phase type distributed marginal distribution
4% of a marked Markovian arrival process.
8% D : list/cell of matrices of shape(M,M), length(N)
9% The D0...DN matrices of the
MMAP
10% precision : double, optional
11% Numerical precision
for checking
if the input
is valid.
12% The
default value
is 1e-14
16% alpha : matrix, shape (1,M)
17% The initial probability vector of the phase type
18% distributed marginal distribution
19% A : matrix, shape (M,M)
20% The transient generator of the phase type distributed
21% marginal distribution
23function [alpha,A] = MarginalDistributionFromMMAP (D)
25 global BuToolsCheckInput;
26 if isempty(BuToolsCheckInput)
27 BuToolsCheckInput =
true;
30 if BuToolsCheckInput && ~CheckMMAPRepresentation(D)
31 error(
'MarginalDistributionFromMMAP: Input isn''t a valid MMAP representation');
34 [alpha,A] = MarginalDistributionFromMRAP(D);