Class CanonicalFromPH2Kt

    • 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
    • Constructor Detail

    • Method Detail

      • canonicalFromPH2

         final static PH2Representation canonicalFromPH2(Matrix alpha, Matrix A, Double prec)

        Returns the canonical form of an order-2 phase-type distribution.

        Parameters:
        alpha - Initial vector of the phase-type distribution.
        A - Transient generator of the phase-type distribution.
        prec - Numerical precision, default value is 1e-14.
        Returns:

        The PH2Representation containing beta (canonical initial vector) and B (canonical generator).

        Note: This procedure calculates 3 moments of the input and calls 'ph2From3Moments'.