Module ojalgo

Class R064CSR.Builder

    • Field Detail

      • myRows

        private final RowsSupplier<java.lang.Double> myRows
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • add

        public void add​(int row,
                        int col,
                        double addend)
      • 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
        Overrides:
        reset in class CompressedSparseR064.Builder<R064CSR>
      • set

        public void set​(int row,
                        int col,
                        double value)