Package jline.lib.butools.dph
Class CanonicalFromDPH3Kt
-
- All Implemented Interfaces:
public final class CanonicalFromDPH3Kt
-
-
Method Summary
Modifier and Type Method Description final static DPH3RepresentationcanonicalFromDPH3(Matrix alpha, Matrix A, Double prec)Returns the canonical form of an order-3 discrete phase-type distribution. final static DPH3RepresentationcanonicalFromDPH3(DoubleArray alpha, Matrix A, Double prec)Overload for DoubleArray alpha. -
-
Method Detail
-
canonicalFromDPH3
final static DPH3Representation canonicalFromDPH3(Matrix alpha, Matrix A, Double prec)
Returns the canonical form of an order-3 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 DPH3Representation containing beta (canonical initial vector) and B (canonical transition matrix)
-
canonicalFromDPH3
final static DPH3Representation canonicalFromDPH3(DoubleArray alpha, Matrix A, Double prec)
Overload for DoubleArray alpha.
-
-
-
-