Class LagrangeMultipliersNaiveKraus.LinearSystemCoefficients

java.lang.Object
com.polytechnik.kgo.LagrangeMultipliersNaiveKraus.LinearSystemCoefficients
Enclosing class:
LagrangeMultipliersNaiveKraus

private static class LagrangeMultipliersNaiveKraus.LinearSystemCoefficients extends Object
Store linear system coefficeints.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final int
     
    (package private) final double[]
     
    (package private) final double[]
     
    (package private) final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    LinearSystemCoefficients(int nS, int nC, int nX, double[] SK, double[] b)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static int
    indMD(int i, int j)
    A helper function to convert matrix index to vector index (with diag).
    (package private) static int
    indMND(int i, int j)
    A helper function to convert matrix index to vector index (without diag).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • matr

      final double[] matr
    • rp

      final double[] rp
    • v0

      final double v0
    • dim

      final int dim
  • Constructor Details

    • LinearSystemCoefficients

      LinearSystemCoefficients(int nS, int nC, int nX, double[] SK, double[] b)
  • Method Details

    • indMD

      static int indMD(int i, int j)
      A helper function to convert matrix index to vector index (with diag).
    • indMND

      static int indMND(int i, int j)
      A helper function to convert matrix index to vector index (without diag).