Package jline.api.mc
Class Ctmc_foxglynn
java.lang.Object
jline.api.mc.Ctmc_foxglynn
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPoisson weights on the Fox-Glynn truncation window. -
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixctmc_foxglynn(Matrix pi0, Matrix Q, double t) Return the transient probability distribution of the CTMC by Fox-Glynn uniformization.static Matrixctmc_foxglynn(Matrix pi0, Matrix Q, double t, double tol, int maxiter) Return the transient probability distribution of the CTMC by Fox-Glynn uniformization.ctmc_foxglynn_weights(double lambda, double tol, int maxiter) Return the Fox-Glynn truncation window and normalized Poisson weights for a Poisson(lambda) mixing distribution at tail-mass tolerance tol.
-
Method Details
-
ctmc_foxglynn
Return the transient probability distribution of the CTMC by Fox-Glynn uniformization.- Parameters:
pi0- Initial state of the CTMCQ- Infinitesimal generator of the CTMCt- Transient analysis period boundary [0,t]- Returns:
- Transient probability vector at time t
-
ctmc_foxglynn
Return the transient probability distribution of the CTMC by Fox-Glynn uniformization.- Parameters:
pi0- Initial state of the CTMCQ- Infinitesimal generator of the CTMCt- Transient analysis period boundary [0,t]tol- Poisson tail-mass truncation tolerancemaxiter- Maximum truncation depth; pass a nonpositive value to let the Fox-Glynn right truncation point size it- Returns:
- Transient probability vector at time t
-
ctmc_foxglynn_weights
public static Ctmc_foxglynn.FoxGlynnWeights ctmc_foxglynn_weights(double lambda, double tol, int maxiter) Return the Fox-Glynn truncation window and normalized Poisson weights for a Poisson(lambda) mixing distribution at tail-mass tolerance tol.- Parameters:
lambda- Poisson rate, that is the uniformization constant times the horizontol- Poisson tail-mass truncation tolerancemaxiter- Cap on the right truncation point; nonpositive to leave it uncapped- Returns:
- Truncation points and weights
-