Package jline.api.mam
Class Me_meanKt
-
- All Implemented Interfaces:
public final class Me_meanKt
-
-
Method Summary
-
-
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 distributionA- 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
-
-
-
-