Class CheckMEPositiveDensityKt

    • 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 checkMEPositiveDensity(Matrix alpha, Matrix A, Integer maxSize, Double prec) Checks if the given ME distribution has positive density.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • checkMEPositiveDensity

         final static Boolean checkMEPositiveDensity(Matrix alpha, Matrix A, Integer maxSize, Double prec)

        Checks if the given ME distribution has positive density.

        This is done by trying to transform the ME distribution to a monocyclic PH representation. If successful, the density is positive.

        Parameters:
        alpha - Initial vector of the matrix-exponential distribution to check (shape 1 x M)
        A - Matrix parameter of the matrix-exponential distribution to check (shape M x M)
        maxSize - The procedure tries to transform the ME distribution to phase-type up to order maxSize.
        prec - Numerical precision.
        Returns:

        True, if the given matrix-exponential distribution has a positive density.

        Notes: This procedure calls MonocyclicPHFromME, and can be time consuming.