Class ProductFormInverse.ElementaryFactor

    • Field Detail

      • myColumn

        private final SparseArray<java.lang.Double> myColumn
      • myIndex

        private final int myIndex
      • myNegatedDiagonal

        private final double myNegatedDiagonal
    • Constructor Detail

      • ElementaryFactor

        ElementaryFactor​(SparseArray<java.lang.Double> column,
                         int index,
                         double diagonalElement)
    • Method Detail

      • btran

        public void btran​(PhysicalStore<java.lang.Double> arg)
        Description copied from interface: InvertibleFactor
        Backwards-transformation

        Solve [x]T[A] = [b]T (equivalent to [A]T[x] = [b]) by transforming [b] into [x] in-place.

        Specified by:
        btran in interface InvertibleFactor<java.lang.Double>
        Parameters:
        arg - [b] transformed into [x]
      • ftran

        public void ftran​(PhysicalStore<java.lang.Double> arg)
        Description copied from interface: InvertibleFactor
        Forward-transformation

        Solve [A][x] = [b] by transforming [b] into [x] in-place.

        Specified by:
        ftran in interface InvertibleFactor<java.lang.Double>
        Parameters:
        arg - [b] transformed into [x]
      • getColDim

        public int getColDim()
        Specified by:
        getColDim in interface Structure2D
        Returns:
        The number of columns
      • getRowDim

        public int getRowDim()
        Specified by:
        getRowDim in interface Structure2D
        Returns:
        The number of rows