Package jline.lib.butools.dph
Class CheckDPHRepresentation
java.lang.Object
jline.lib.butools.dph.CheckDPHRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckDPHRepresentation(double[] alpha, Matrix A) static booleancheckDPHRepresentation(double[] alpha, Matrix A, double prec) Overload for double[] alpha.static booleancheckDPHRepresentation(Matrix alpha, Matrix A) static booleancheckDPHRepresentation(Matrix alpha, Matrix A, double prec) Checks if the given vector and matrix define a valid discrete phase-type representation.
-
Method Details
-
checkDPHRepresentation
Checks if the given vector and matrix define a valid discrete 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.- Returns:
- True if vector alpha is a probability vector and matrix A is substochastic, and they have the same size.
-
checkDPHRepresentation
-
checkDPHRepresentation
Overload for double[] alpha. -
checkDPHRepresentation
-