Class CheckDPHRepresentation

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

public final class CheckDPHRepresentation extends Object
  • Method Details

    • checkDPHRepresentation

      public static boolean checkDPHRepresentation(Matrix alpha, Matrix A, double prec)
      Checks if the given vector and matrix define a valid discrete phase-type representation.
      Parameters:
      alpha - Initial vector of the phase-type distribution to check
      A - Transient generator of the phase-type distribution to check
      prec - Numerical precision.
      Returns:
      True if vector alpha is a probability vector and matrix A is substochastic, and they have the same size.
    • checkDPHRepresentation

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

      public static boolean checkDPHRepresentation(double[] alpha, Matrix A, double prec)
      Overload for double[] alpha.
    • checkDPHRepresentation

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