Package jline.lib.butools.dph
Class MomentsFromMG
java.lang.Object
jline.lib.butools.dph.MomentsFromMG
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[]momentsFromMG(double[] alpha, Matrix A) static double[]momentsFromMG(double[] alpha, Matrix A, int K) static double[]momentsFromMG(Matrix alpha, Matrix A) static double[]momentsFromMG(Matrix alpha, Matrix A, int K) Returns the first K moments of a matrix-geometric distribution.
-
Method Details
-
momentsFromMG
Returns the first K moments of a matrix-geometric distribution.- Parameters:
alpha- The initial vector of the matrix-geometric distribution.A- The matrix parameter of the matrix-geometric distribution.K- Number of moments to compute. If K=0, 2*M-1 moments are computed.- Returns:
- The vector of moments.
-
momentsFromMG
-
momentsFromMG
-
momentsFromMG
-