Class TransjugatedStore<N extends java.lang.Comparable<N>>

    • Constructor Detail

      • TransjugatedStore

        private TransjugatedStore​(MatrixStore<N> base,
                                  int rows,
                                  int columns)
      • TransjugatedStore

        protected TransjugatedStore​(MatrixStore<N> base)
    • Method Detail

      • doubleValue

        public final double doubleValue​(int aRow,
                                        int aCol)
        Description copied from interface: Access2D
        Extracts one element of this matrix as a double.
        Parameters:
        aRow - A row index.
        aCol - A column index.
        Returns:
        One matrix element
      • firstInColumn

        public final int firstInColumn​(int col)
        Description copied from interface: Structure2D
        The default value is simply 0, and if all elements are zeros then this.countRows().
        Parameters:
        col - The column index
        Returns:
        The row index of the first non-zero element in the specified column
      • firstInRow

        public final int firstInRow​(int row)
        Description copied from interface: Structure2D
        The default value is simply 0, and if all elements are zeros then this.countColumns().
        Returns:
        The column index of the first non-zero element in the specified row
      • limitOfColumn

        public final int limitOfColumn​(int col)
        Description copied from interface: Structure2D
        The default value is simply this.countRows(), and if all elements are zeros then 0.
        Specified by:
        limitOfColumn in interface Structure2D
        Overrides:
        limitOfColumn in class AbstractStore<N extends java.lang.Comparable<N>>
        Returns:
        The row index of the first zero element, after all non-zeros, in the specified column (index of the last non-zero + 1)
      • limitOfRow

        public final int limitOfRow​(int row)
        Description copied from interface: Structure2D
        The default value is simply this.countColumns(), and if all elements are zeros then 0.
        Specified by:
        limitOfRow in interface Structure2D
        Overrides:
        limitOfRow in class AbstractStore<N extends java.lang.Comparable<N>>
        Returns:
        The column index of the first zero element, after all non-zeros, in the specified row (index of the last non-zero + 1)