Package jline.api.mam

Class Me_meanKt

  • All Implemented Interfaces:

    
    public final class Me_meanKt
    
                        
    • 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 Double me_mean(Matrix alpha, Matrix A) Computes the mean of a Matrix Exponential (ME) distribution.
      final static Double me_mean(MatrixCell ME) Computes the mean of a Matrix Exponential (ME) distribution using matrices stored in a MatrixCell.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • me_mean

         final static Double me_mean(Matrix alpha, Matrix A)

        Computes the mean of a Matrix Exponential (ME) distribution.

        For an ME distribution with initial vector alpha and matrix parameter A, the mean is computed as: mean = -alpha * A^(-1) * e where e is a vector of ones.

        Parameters:
        alpha - The initial vector of the ME distribution
        A - The matrix parameter of the ME distribution
        Returns:

        The mean of the ME distribution

      • me_mean

         final static Double me_mean(MatrixCell ME)

        Computes the mean of a Matrix Exponential (ME) distribution using matrices stored in a MatrixCell.

        This is a convenience method that extracts alpha and A from a given ME stored in a MatrixCell and computes the mean.

        Note: For ME distributions, the MatrixCell format is {D0=A, D1=-Aealpha'}. We extract A from D0.

        Parameters:
        ME - The Matrix Exponential distribution stored in a MatrixCell
        Returns:

        The mean of the ME distribution