Package jline.lib.butools.dmap
Class CheckDMAPRepresentation
java.lang.Object
jline.lib.butools.dmap.CheckDMAPRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckDMAPRepresentation(Matrix D0, Matrix D1) static booleancheckDMAPRepresentation(Matrix D0, Matrix D1, double prec) Checks if the input matrices define a discrete time MAP.
-
Method Details
-
checkDMAPRepresentation
Checks if the input matrices define a discrete time MAP. Matrices D0 and D1 must have the same size, D0 must be a transient probability matrix, D1 has only non-negative elements, and the rowsum of D0+D1 is 1 (up to the numerical precision).- Parameters:
D0- The D0 matrix of the DMAP to checkD1- The D1 matrix of the DMAP to checkprec- Numerical precision, default value is 1e-14- Returns:
- True if the matrices define a valid DMAP
-
checkDMAPRepresentation
-