Package jline.lib.butools.ph
Class RandomPHKt
-
- All Implemented Interfaces:
public final class RandomPHKt
-
-
Method Summary
-
-
Method Detail
-
randomPH
final static PHRepresentation randomPH(Integer order, Double mean, Integer zeroEntries, Integer maxTrials, Double prec, Random random)
Returns a random phase-type distribution with a given order.
- Parameters:
order- The size of the phase-type distribution.mean- The mean of the phase-type distribution (default 1.0).zeroEntries- The number of zero entries in the initial vector, generator matrix and closing vector (default 0).maxTrials- The maximum number of trials to find a proper PH (that has an irreducible phase process and none of its parameters is all-zero).prec- Numerical precision for checking the irreducibility.random- Random number generator (optional).- Returns:
The PHRepresentation containing alpha and A.
-
-
-
-