Package jline.lib.butools.ph
Class CheckPHRepresentation
java.lang.Object
jline.lib.butools.ph.CheckPHRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckPHRepresentation(double[] alpha, Matrix A) static booleancheckPHRepresentation(double[] alpha, Matrix A, double prec) Overload for double[] alpha.static booleancheckPHRepresentation(Matrix alpha, Matrix A) static booleancheckPHRepresentation(Matrix alpha, Matrix A, double prec) Checks if the given vector and matrix define a valid phase- type representation.
-
Method Details
-
checkPHRepresentation
Checks if the given vector and matrix define a valid phase- type representation.- Parameters:
alpha- Initial vector of the phase-type distribution to checkA- Transient generator of the phase-type distribution to checkprec- Numerical precision. The default value is 1e-14.- Returns:
- True, if vector alpha is a probability vector and matrix A is a transient generator, and they have the same size.
-
checkPHRepresentation
-
checkPHRepresentation
Overload for double[] alpha. -
checkPHRepresentation
-