Package jline.lib.butools.ph
Class CanonicalFromPH3Kt
-
- All Implemented Interfaces:
public final class CanonicalFromPH3Kt
-
-
Method Summary
Modifier and Type Method Description final static PH3RepresentationcanonicalFromPH3(Matrix alpha, Matrix A, Double prec)Returns the canonical form of an order-3 phase-type distribution. final static PH3RepresentationcanonicalFromPH3(DoubleArray alpha, Matrix A, Double prec)Overload for DoubleArray alpha. -
-
Method Detail
-
canonicalFromPH3
final static PH3Representation canonicalFromPH3(Matrix alpha, Matrix A, Double prec)
Returns the canonical form of an order-3 phase-type distribution.
- Parameters:
alpha- Initial vector of the phase-type distribution.A- Transient generator of the phase-type distribution.prec- Numerical precision, default value is 1e-10.- Returns:
The PH3Representation containing beta (canonical initial vector) and B (canonical generator).
Note: This procedure calculates 5 moments of the input and calls 'ph3From5Moments'.
-
canonicalFromPH3
final static PH3Representation canonicalFromPH3(DoubleArray alpha, Matrix A, Double prec)
Overload for DoubleArray alpha.
-
-
-
-