Package jline.lib.butools.reptrans
Class TransformToAcyclic
java.lang.Object
jline.lib.butools.reptrans.TransformToAcyclic
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixstatic MatrixtransformToAcyclic(Matrix A, int maxSize) static MatrixtransformToAcyclic(Matrix A, int maxSize, double precision) Transforms an arbitrary matrix to a Markovian bi-diagonal matrix.
-
Method Details
-
transformToAcyclic
Transforms an arbitrary matrix to a Markovian bi-diagonal matrix.- Parameters:
A- Matrix parameter of the initial representation (shape N,N)maxSize- The maximal order of the resulting Markovian representation (default 100)precision- Matrix entries smaller than the precision are considered to be zeros (default 1e-14)- Returns:
- Transient (bi-diagonal) generator matrix of the Markovian acyclic representation. Note: Calls the 'transformToMonocyclic' procedure if all the eigenvalues are real, otherwise it raises an error if no Markovian acyclic generator has been found.
- Throws:
IllegalArgumentException- if complex eigenvalues are found (no acyclic representation exists).
-
transformToAcyclic
-
transformToAcyclic
-