Package jline.api.mc

Class Ctmc_gmres.GmresResult

java.lang.Object
jline.api.mc.Ctmc_gmres.GmresResult
Enclosing class:
Ctmc_gmres

public static final class Ctmc_gmres.GmresResult extends Object
Outcome of a GMRES solve. The flag follows the MATLAB gmres convention: 0 converged, 1 iteration limit reached, 2 preconditioner ill-conditioned, 3 stagnation or breakdown. Callers must check it and fall back to the direct solve when it is nonzero.
  • Field Details

    • x

      public final Matrix x
    • flag

      public final int flag
    • relres

      public final double relres
    • iter

      public final int iter