LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
MarginalDistributionFromDMMAP.m
1% [alpha, A] = MarginalDistributionFromDMMAP(D, precision)
2%
3% Returns the discrete phase type distributed marginal
4% distribution of a discrete marked Markovian arrival
5% process.
6%
7% Parameters
8% ----------
9% D : list/cell of matrices of shape(M,M), length(N)
10% The D0...DN matrices of the DMMAP
11% precision : double, optional
12% Numerical precision for checking if the input is valid.
13% The default value is 1e-14
14%
15% Returns
16% -------
17% alpha : matrix, shape (1,M)
18% The initial probability vector of the discrete phase
19% type distributed marginal distribution
20% A : matrix, shape (M,M)
21% The transient generator of the discrete phase type
22% distributed marginal distribution
23
24function [alpha,A] = MarginalDistributionFromDMMAP(H)
25
26 global BuToolsCheckInput;
27 if isempty(BuToolsCheckInput)
28 BuToolsCheckInput = true;
29 end
30
31 if BuToolsCheckInput && ~CheckDMMAPRepresentation(H)
32 error('MarginalDistributionFromDMMAP: Input isn''t a valid DMMAP representation');
33 end
34
35 [alpha,A] = MarginalDistributionFromDMRAP(H);
36end