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