Package jline.lib.butools.dph
Class CdfFromDPH
java.lang.Object
jline.lib.butools.dph.CdfFromDPH
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublecdfFromDPH(double[] alpha, Matrix A, int x) Overload for double[] alpha and single integer x.static double[]cdfFromDPH(double[] alpha, Matrix A, int[] x) Overload for double[] alpha.static doublecdfFromDPH(Matrix alpha, Matrix A, int x) Overload for single integer x.static double[]cdfFromDPH(Matrix alpha, Matrix A, int[] x) Returns the cumulative distribution function of a discrete phase-type distribution.
-
Method Details
-
cdfFromDPH
Returns the cumulative distribution function of a discrete phase-type distribution.- Parameters:
alpha- The initial probability vector of the discrete phase-type distribution.A- The transition probability matrix of the discrete phase-type distribution.x- Vector of non-negative integers at which to compute the CDF.- Returns:
- The probabilities that the discrete phase type distributed random variable is less or equal to the corresponding "x" values.
-
cdfFromDPH
Overload for double[] alpha. -
cdfFromDPH
Overload for single integer x. -
cdfFromDPH
Overload for double[] alpha and single integer x.
-