Package jline.lib.butools.dph
Class CanonicalFromDPH2Kt
-
- All Implemented Interfaces:
public final class CanonicalFromDPH2Kt
-
-
Method Summary
Modifier and Type Method Description final static DPH2RepresentationcanonicalFromDPH2(Matrix alpha, Matrix A, Double prec)Returns the canonical form of an order-2 discrete phase-type distribution. final static DPH2RepresentationcanonicalFromDPH2(DoubleArray alpha, Matrix A, Double prec)Overload for DoubleArray alpha. -
-
Method Detail
-
canonicalFromDPH2
final static DPH2Representation canonicalFromDPH2(Matrix alpha, Matrix A, Double prec)
Returns the canonical form of an order-2 discrete phase-type distribution.
- Parameters:
alpha- Initial vector of the discrete phase-type distributionA- Transition probability matrix of the discrete phase-type distributionprec- Numerical precision for checking the input, default value is 1e-14- Returns:
The DPH2Representation containing beta (canonical initial vector) and B (canonical transition matrix)
-
canonicalFromDPH2
final static DPH2Representation canonicalFromDPH2(DoubleArray alpha, Matrix A, Double prec)
Overload for DoubleArray alpha.
-
-
-
-