Class Diagonal


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

      Constructors 
      Modifier Constructor Description
      protected Diagonal()
      Makes this class non instantiable, but still let's others inherit from it.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean inverse​(DoubleMatrix2D A)
      Modifies A to hold its inverse.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Diagonal

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

      • 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:
        java.lang.IllegalArgumentException - if x.size() != y.size().