Package jline.lib.butools.dph
Class CdfFromDPHKt
-
- All Implemented Interfaces:
public final class CdfFromDPHKt
-
-
Method Summary
Modifier and Type Method Description final static DoubleArraycdfFromDPH(Matrix alpha, Matrix A, IntArray x)Returns the cumulative distribution function of a discrete phase-type distribution. final static DoubleArraycdfFromDPH(DoubleArray alpha, Matrix A, IntArray x)Overload for DoubleArray alpha. final static DoublecdfFromDPH(Matrix alpha, Matrix A, Integer x)Overload for single integer x. final static DoublecdfFromDPH(DoubleArray alpha, Matrix A, Integer x)Overload for DoubleArray alpha and single integer x. -
-
Method Detail
-
cdfFromDPH
final static DoubleArray cdfFromDPH(Matrix alpha, Matrix A, IntArray x)
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
final static DoubleArray cdfFromDPH(DoubleArray alpha, Matrix A, IntArray x)
Overload for DoubleArray alpha.
-
cdfFromDPH
final static Double cdfFromDPH(Matrix alpha, Matrix A, Integer x)
Overload for single integer x.
-
cdfFromDPH
final static Double cdfFromDPH(DoubleArray alpha, Matrix A, Integer x)
Overload for DoubleArray alpha and single integer x.
-
-
-
-