Package jline.api.mc

Class Dtmc_transient

java.lang.Object
jline.api.mc.Dtmc_transient

public final class Dtmc_transient extends Object
  • Method Details

    • dtmc_transient

      public static Matrix dtmc_transient(Matrix P, Matrix pi0, int steps)
      Transient distribution of a DTMC, i.e. the rows pi(k) = pi0*P^k for k = 0,...,steps. Twin of the MATLAB dtmc_transient and of the Python api.mc.dtmc_transient.
      Parameters:
      P - transition matrix
      pi0 - initial distribution, uniform when null
      steps - number of steps
      Returns:
      matrix with one row per step, from step 0 to step steps