Class CheckDMMAPRepresentation

java.lang.Object
jline.lib.butools.dmap.CheckDMMAPRepresentation

public final class CheckDMMAPRepresentation extends Object
  • Method Details

    • checkDMMAPRepresentation

      public static boolean checkDMMAPRepresentation(MatrixCell D, double prec)
      Checks if the input matrices define a discrete time MMAP. All matrices D0...DK must have the same size, D0 must be a transient probability matrix, D1...DK have only non-negative elements, and the rowsum of D0+D1+...+DK is 1 (up to the numerical precision).
      Parameters:
      D - The D0...DK matrices of the DMMAP to check (as MatrixCell)
      prec - Numerical precision
      Returns:
      True if the matrices define a valid DMMAP
    • checkDMMAPRepresentation

      public static boolean checkDMMAPRepresentation(MatrixCell D)
    • checkDMMAPRepresentation

      public static boolean checkDMMAPRepresentation(Matrix[] D, double prec)
      Overload for Matrix[].
    • checkDMMAPRepresentation

      public static boolean checkDMMAPRepresentation(Matrix[] D)