Package jline.lib.butools.ph
Class AcyclicPHFromME
java.lang.Object
jline.lib.butools.ph.AcyclicPHFromME
-
Method Summary
Modifier and TypeMethodDescriptionstatic PHRepresentationacyclicPHFromME(Matrix alpha, Matrix A) static PHRepresentationacyclicPHFromME(Matrix alpha, Matrix A, int maxSize) static PHRepresentationacyclicPHFromME(Matrix alpha, Matrix A, int maxSize, double prec) Transforms an arbitrary matrix-exponential representation to an acyclic phase-type representation.
-
Method Details
-
acyclicPHFromME
Transforms an arbitrary matrix-exponential representation to an acyclic phase-type representation.- Parameters:
alpha- Initial vector of the distribution (shape 1 x N)A- Matrix parameter of the distribution (shape N x N)maxSize- The maximum number of phases for the result. The default value is 100.prec- Vector and matrix entries smaller than the precision are considered to be zeros.- Returns:
- PHRepresentation containing the initial probability vector and transient generator matrix of the Markovian acyclic representation.
- Throws:
IllegalArgumentException- if no Markovian acyclic representation has been found.
-
acyclicPHFromME
-
acyclicPHFromME
-