Package jline.lib.butools.dph
Class PmfFromDPHKt
-
- All Implemented Interfaces:
public final class PmfFromDPHKt
-
-
Method Summary
Modifier and Type Method Description final static DoubleArraypmfFromDPH(Matrix alpha, Matrix A, IntArray x)Returns the probability mass function of a discrete phase-type distribution. final static DoubleArraypmfFromDPH(DoubleArray alpha, Matrix A, IntArray x)Overload for DoubleArray alpha. final static DoublepmfFromDPH(Matrix alpha, Matrix A, Integer x)Overload for single integer x. final static DoublepmfFromDPH(DoubleArray alpha, Matrix A, Integer x)Overload for DoubleArray alpha and single integer x. -
-
Method Detail
-
pmfFromDPH
final static DoubleArray pmfFromDPH(Matrix alpha, Matrix A, IntArray x)
Returns the probability mass function of a discrete phase-type distribution.
- Parameters:
alpha- The initial probability vector of the discrete phase-type distribution.A- The transient generator matrix of the discrete phase-type distribution.x- Vector of non-negative integers at which to compute the PMF.- Returns:
The probabilities that the discrete phase type distributed random variable takes the corresponding "x" values.
-
pmfFromDPH
final static DoubleArray pmfFromDPH(DoubleArray alpha, Matrix A, IntArray x)
Overload for DoubleArray alpha.
-
pmfFromDPH
final static Double pmfFromDPH(Matrix alpha, Matrix A, Integer x)
Overload for single integer x.
-
pmfFromDPH
final static Double pmfFromDPH(DoubleArray alpha, Matrix A, Integer x)
Overload for DoubleArray alpha and single integer x.
-
-
-
-