Package jline.lib.butools.dph
Class CheckMGRepresentation
java.lang.Object
jline.lib.butools.dph.CheckMGRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckMGRepresentation(double[] alpha, Matrix A) static booleancheckMGRepresentation(double[] alpha, Matrix A, double prec) static booleancheckMGRepresentation(Matrix alpha, Matrix A) static booleancheckMGRepresentation(Matrix alpha, Matrix A, double prec) Checks if the given vector and matrix define a valid matrix-geometric representation.
-
Method Details
-
checkMGRepresentation
Checks if the given vector and matrix define a valid matrix-geometric representation.- Parameters:
alpha- Initial vector of the matrix-geometric distribution to checkA- Matrix parameter of the matrix-geometric distribution to checkprec- Numerical precision.- Returns:
- True if the matrix is a square matrix, the vector and the matrix have the same size, the dominant eigenvalue is positive, less than 1 and real. Note: This procedure does not check the positivity of the density!
-
checkMGRepresentation
-
checkMGRepresentation
-
checkMGRepresentation
-