Class OctaveSparseBoolean

    • Field Detail

      • rows

        private final int rows
      • columns

        private final int columns
      • nnz

        private int nnz
      • rowIndexes

        private final int[] rowIndexes
      • columnIndexes

        private final int[] columnIndexes
      • data

        private final boolean[] data
    • Constructor Detail

      • OctaveSparseBoolean

        private OctaveSparseBoolean​(int rows,
                                    int columns,
                                    int nnz,
                                    int[] rowIndexes,
                                    int[] columnIndexes,
                                    boolean[] data)
      • OctaveSparseBoolean

        public OctaveSparseBoolean​(int rows,
                                   int columns,
                                   int nnz)
        Parameters:
        rows -
        columns -
        nnz -
    • Method Detail

      • set

        public void set​(boolean value,
                        int row,
                        int column)
        Parameters:
        value -
        row -
        column -
      • getRows

        public int getRows()
        Returns:
        the rows
      • getColumns

        public int getColumns()
        Returns:
        the columns
      • getNnz

        public int getNnz()
        Returns:
        the nnz
      • getRowIndexes

        public int[] getRowIndexes()
        Returns:
        the rowIndexes
      • getColumnIndexes

        public int[] getColumnIndexes()
        Returns:
        the columnIndexes
      • getData

        public boolean[] getData()
        Returns:
        the data
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object