Package jline.lib.butools.mam
Class FluidSolveKt
-
- All Implemented Interfaces:
public final class FluidSolveKt
-
-
Method Summary
Modifier and Type Method Description final static FluidSolutionfluidSolve(Matrix Fpp, Matrix Fpm, Matrix Fmp, Matrix Fmm, Double prec)Returns the parameters of the matrix-exponentially distributed stationary distribution of a canonical Markovian fluid model. -
-
Method Detail
-
fluidSolve
final static FluidSolution fluidSolve(Matrix Fpp, Matrix Fpm, Matrix Fmp, Matrix Fmm, Double prec)
Returns the parameters of the matrix-exponentially distributed stationary distribution of a canonical Markovian fluid model.
The canonical Markov fluid model is defined by the matrix blocks of the generator of the background Markov chain partitioned according to the sign of the associated fluid rates (i.e., there are "+" and "-" states).
Using the returned 4 parameters the stationary solution can be obtained as follows:
The probability that the fluid level is zero while being in different states of the background process is given by vector mass0.
The density that the fluid level is x while being in different states of the background process is: pi(x) = ini * e^(K*x) * clo
- Parameters:
Fpp- The matrix of transition rates between states having positive fluid ratesFpm- The matrix of transition rates from positive to negative fluid rate statesFmp- The matrix of transition rates from negative to positive fluid rate statesFmm- The matrix of transition rates between states having negative fluid ratesprec- Numerical precision for computing the fundamental matrix (default 1e-14)- Returns:
FluidSolution containing mass0, ini, K, and clo
-
-
-
-