Package jline.api.mc
Class Ctmc_passage_lst
java.lang.Object
jline.api.mc.Ctmc_passage_lst
Laplace-Stieltjes transform of the first passage time into a target state
set: L(s) = alpha (sI-S)^-1 s0 + atom.
Reference: P. G. Harrison and W. J. Knottenbelt, "Passage Time Distributions in Large Markov Chains", 2002, Eqs. 1-2: one linear system per value of s, of the size of the non-target block.
ONE SOLVE PER s, NOT PER (s,t) PAIR. The saving over a dense matrix
exponential is that the solves are sparse, so this route reaches chains a
dense expm cannot hold. It is NOT a saving in the number of time points:
every Abate-Whitt inverter places its nodes at s = beta/t, so a grid of T
points costs T*|beta| solves. On a small chain the exponential route of
Ctmc_passage_time is faster.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.commons.math3.complex.Complexctmc_passage_lst(CtmcPassagePh ph, org.apache.commons.math3.complex.Complex s) L(s) from a phase-type form already built, so it is not rebuilt per s.static org.apache.commons.math3.complex.Complexctmc_passage_lst(Matrix Q, Matrix pi0, int[] target, org.apache.commons.math3.complex.Complex s) L(s) at a single (possibly complex) point.static org.apache.commons.math3.complex.Complex[]ctmc_passage_lst(Matrix Q, Matrix pi0, int[] target, org.apache.commons.math3.complex.Complex[] s) L(s) on a vector of points.
-
Method Details
-
ctmc_passage_lst
public static org.apache.commons.math3.complex.Complex ctmc_passage_lst(Matrix Q, Matrix pi0, int[] target, org.apache.commons.math3.complex.Complex s) L(s) at a single (possibly complex) point. -
ctmc_passage_lst
public static org.apache.commons.math3.complex.Complex ctmc_passage_lst(CtmcPassagePh ph, org.apache.commons.math3.complex.Complex s) L(s) from a phase-type form already built, so it is not rebuilt per s. -
ctmc_passage_lst
public static org.apache.commons.math3.complex.Complex[] ctmc_passage_lst(Matrix Q, Matrix pi0, int[] target, org.apache.commons.math3.complex.Complex[] s) L(s) on a vector of points.
-