Package jline.lib.butools.dph
Class CheckMGRepresentationKt
-
- All Implemented Interfaces:
public final class CheckMGRepresentationKt
-
-
Method Summary
Modifier and Type Method Description final static BooleancheckMGRepresentation(Matrix alpha, Matrix A, Double prec)Checks if the given vector and matrix define a valid matrix-geometric representation. final static BooleancheckMGRepresentation(DoubleArray alpha, Matrix A, Double prec)Overload for DoubleArray alpha. -
-
Method Detail
-
checkMGRepresentation
final static Boolean checkMGRepresentation(Matrix alpha, Matrix A, Double prec)
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! The discrete counterpart of 'CheckMEPositiveDensity' does not exist yet.
-
checkMGRepresentation
final static Boolean checkMGRepresentation(DoubleArray alpha, Matrix A, Double prec)
Overload for DoubleArray alpha.
-
-
-
-