Package jline.lib.butools.dmap
Class DMAP2FromMoments
java.lang.Object
jline.lib.butools.dmap.DMAP2FromMoments
-
Method Summary
Modifier and TypeMethodDescriptiondmap2FromMoments(double[] moms, double corr1) Returns a discrete MAP(2) which has the same 3 marginal moments and lag-1 autocorrelation as given.
-
Method Details
-
dmap2FromMoments
Returns a discrete MAP(2) which has the same 3 marginal moments and lag-1 autocorrelation as given.- Parameters:
moms- First three marginal moments of the inter-arrival timescorr1- The lag-1 autocorrelation of the inter-arrival times- Returns:
- Pair of (D0, D1) matrices of the discrete MAP(2)
Note: Raises an exception if the moments are not feasible with a DMAP(2).
-