Package jline.lib.butools.dph
Class MomentsFromMGKt
-
- All Implemented Interfaces:
public final class MomentsFromMGKt
-
-
Method Summary
Modifier and Type Method Description final static DoubleArraymomentsFromMG(Matrix alpha, Matrix A, Integer K)Returns the first K moments of a matrix-geometric distribution. final static DoubleArraymomentsFromMG(DoubleArray alpha, Matrix A, Integer K)Overload for DoubleArray alpha. -
-
Method Detail
-
momentsFromMG
final static DoubleArray momentsFromMG(Matrix alpha, Matrix A, Integer K)
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.- Returns:
The vector of moments.
-
momentsFromMG
final static DoubleArray momentsFromMG(DoubleArray alpha, Matrix A, Integer K)
Overload for DoubleArray alpha.
-
-
-
-