Package jline.lib.butools.mc
Class CheckProbMatrix
java.lang.Object
jline.lib.butools.mc.CheckProbMatrix
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleancheckProbMatrix(Matrix P, boolean transient_) static booleancheckProbMatrix(Matrix P, boolean transient_, double prec) Checks if the matrix is a valid probability matrix.
-
Method Details
-
checkProbMatrix
Checks if the matrix is a valid probability matrix.- Parameters:
P- The matrix to check.transient_- If true, checks if P is a transient probability matrix.prec- Numerical precision for zero comparisons.- Returns:
- The result of the check.
-
checkProbMatrix
-
checkProbMatrix
-