Package jline.lib.butools.ph
Class CheckPHRepresentationKt
-
- All Implemented Interfaces:
public final class CheckPHRepresentationKt
-
-
Method Summary
Modifier and Type Method Description final static BooleancheckPHRepresentation(Matrix alpha, Matrix A, Double prec)Checks if the given vector and matrix define a valid phase- type representation. final static BooleancheckPHRepresentation(DoubleArray alpha, Matrix A, Double prec)Overload for DoubleArray alpha. -
-
Method Detail
-
checkPHRepresentation
final static Boolean checkPHRepresentation(Matrix alpha, Matrix A, Double prec)
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.- Returns:
True, if vector alpha is a probability vector and matrix A is a transient generator, and they have the same size.
-
checkPHRepresentation
final static Boolean checkPHRepresentation(DoubleArray alpha, Matrix A, Double prec)
Overload for DoubleArray alpha.
-
-
-
-