Class SamplesFromPHKt

    • 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

      • samplesFromPH

         final static DoubleArray samplesFromPH(Matrix alpha, Matrix A, Integer K, Random random)

        Generates random samples from a phase-type distribution.

        Parameters:
        alpha - The initial probability vector of the phase-type distribution.
        A - The transient generator matrix of the phase-type distribution.
        K - The number of samples to generate.
        random - Random number generator (optional).
        Returns:

        The vector of random samples.