Package jline.lib.butools.dph
Class CheckDPHRepresentationKt
-
- All Implemented Interfaces:
public final class CheckDPHRepresentationKt
-
-
Method Summary
Modifier and Type Method Description final static BooleancheckDPHRepresentation(Matrix alpha, Matrix A, Double prec)Checks if the given vector and matrix define a valid discrete phase-type representation. final static BooleancheckDPHRepresentation(DoubleArray alpha, Matrix A, Double prec)Overload for DoubleArray alpha. -
-
Method Detail
-
checkDPHRepresentation
final static Boolean checkDPHRepresentation(Matrix alpha, Matrix A, Double prec)
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
final static Boolean checkDPHRepresentation(DoubleArray alpha, Matrix A, Double prec)
Overload for DoubleArray alpha.
-
-
-
-