LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
MarginalDistributionFromMMAP.m
1% [alpha, A] = MarginalDistributionFromMMAP(D, precision)
2%
3% Returns the phase type distributed marginal distribution
4% of a marked Markovian arrival process.
5%
6% Parameters
7% ----------
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
13%
14% Returns
15% -------
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
22
23function [alpha,A] = MarginalDistributionFromMMAP (D)
24
25 global BuToolsCheckInput;
26 if isempty(BuToolsCheckInput)
27 BuToolsCheckInput = true;
28 end
29
30 if BuToolsCheckInput && ~CheckMMAPRepresentation(D)
31 error('MarginalDistributionFromMMAP: Input isn''t a valid MMAP representation');
32 end
33
34 [alpha,A] = MarginalDistributionFromMRAP(D);
35end