Class Diagonal

java.lang.Object
cern.colt.matrix.linalg.Diagonal

class Diagonal extends Object
For diagonal matrices we can often do better.
Version:
1.0, 09/24/99
  • Constructor Details

    • Diagonal

      protected Diagonal()
      Makes this class non instantiable, but still let's others inherit from it.
  • Method Details

    • inverse

      public static boolean inverse(DoubleMatrix2D A)
      Modifies A to hold its inverse.
      Parameters:
      x - the first vector.
      y - the second vector.
      Returns:
      isNonSingular.
      Throws:
      IllegalArgumentException - if x.size() != y.size().