1% [alpha, A] = MarginalDistributionFromMAP(D0, D1, precision)
3% Returns the phase type distributed marginal distribution
4% of a Markovian arrival process.
8% D0 : matrix, shape (M,M)
9% The D0 matrix of the Markovian arrival process
10% D1 : matrix, shape (M,M)
11% The D1 matrix of the Markovian arrival process
12% precision : double, optional
13% Numerical precision
for checking
if the input
is valid.
14% The
default value
is 1e-14
18% alpha : matrix, shape (1,M)
19% The initial probability vector of the phase type
20% distributed marginal distribution
21% A : matrix, shape (M,M)
22% The transient generator of the phase type distributed
23% marginal distribution
25function [alpha,A] = MarginalDistributionFromMAP (D0, D1)
27 global BuToolsCheckInput;
28 if isempty(BuToolsCheckInput)
29 BuToolsCheckInput =
true;
32 if BuToolsCheckInput && ~CheckMAPRepresentation(D0,D1)
33 error(
'MarginalDistributionFromMAP: input isn''t a valid MAP representation!');
36 [alpha,A] = MarginalDistributionFromRAP(D0,D1);