Class CheckMGRepresentation

java.lang.Object
jline.lib.butools.dph.CheckMGRepresentation

public final class CheckMGRepresentation extends Object
  • Method Details

    • checkMGRepresentation

      public static boolean checkMGRepresentation(Matrix alpha, Matrix A, double prec)
      Checks if the given vector and matrix define a valid matrix-geometric representation.
      Parameters:
      alpha - Initial vector of the matrix-geometric distribution to check
      A - Matrix parameter of the matrix-geometric distribution to check
      prec - Numerical precision.
      Returns:
      True if the matrix is a square matrix, the vector and the matrix have the same size, the dominant eigenvalue is positive, less than 1 and real. Note: This procedure does not check the positivity of the density!
    • checkMGRepresentation

      public static boolean checkMGRepresentation(Matrix alpha, Matrix A)
    • checkMGRepresentation

      public static boolean checkMGRepresentation(double[] alpha, Matrix A, double prec)
    • checkMGRepresentation

      public static boolean checkMGRepresentation(double[] alpha, Matrix A)