Class CheckDMAPRepresentationKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Boolean checkDMAPRepresentation(Matrix D0, Matrix D1, Double prec) Checks if the input matrices define a discrete time MAP.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • checkDMAPRepresentation

         final static Boolean checkDMAPRepresentation(Matrix D0, Matrix D1, Double prec)

        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 check
        D1 - The D1 matrix of the DMAP to check
        prec - Numerical precision, default value is 1e-14
        Returns:

        True if the matrices define a valid DMAP