Package jline.lib.smc

Class MG1_NI

java.lang.Object
jline.lib.smc.MG1_NI

public final class MG1_NI extends Object
  • Method Details

    • mg1_ni

      public static Matrix mg1_ni(Matrix A, Object... optParams)
      Solves G = A0 + A1 G + A2 G^2 + ... + A_N G^N by Newton iteration, A = [A0 A1 ... AN].

      Optional name/value pairs, as in the reference: Mode ('DirectSum', 'DirectSumShift', 'RealSchur', 'RealSchurShift' (default), 'ComplexSchur', 'ComplexSchurShift'), MaxNumIt (50), ShiftType ('one' (default), 'tau', 'dbl'), EpsilonValue (1e-14) and Verbose (0).

      Each step linearizes the equation about the current iterate, which leaves sum_j B_j Y G^{j-1} = C, solved by SolveSylvPowers in the chosen form.

    • mg1_ni

      public static Matrix mg1_ni(Matrix A, String mode, int maxNumIt, String shiftType, double epsilonValue, int verbose)