Module ojalgo

Class CompressedSparseR064.Builder<I extends CompressedSparseR064>

    • Field Detail

      • myColDim

        private int myColDim
      • myRowDim

        private int myRowDim
    • Constructor Detail

      • Builder

        Builder()
    • Method Detail

      • getColDim

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

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

        public void reset()
        Description copied from interface: Mutate1D
        Reset this mutable structure to some standard (all zeros) initial state. It must still be usuable after this call, and the structure/size/shape must not change.
        Specified by:
        reset in interface Mutate1D
      • set

        public final void set​(long row,
                              long col,
                              java.lang.Comparable<?> value)
        Specified by:
        set in interface Mutate2D
      • update

        final void update​(int row,
                          int col)