Interface Mutate2D.Modifiable<N extends java.lang.Comparable<N>>

    • Method Detail

      • add

        default void add​(long index,
                         byte addend)
        Specified by:
        add in interface Mutate1D.Modifiable<N extends java.lang.Comparable<N>>
      • add

        default void add​(long index,
                         java.lang.Comparable<?> addend)
        Specified by:
        add in interface Mutate1D.Modifiable<N extends java.lang.Comparable<N>>
      • add

        default void add​(long index,
                         double addend)
        Specified by:
        add in interface Mutate1D.Modifiable<N extends java.lang.Comparable<N>>
      • add

        default void add​(long index,
                         float addend)
        Specified by:
        add in interface Mutate1D.Modifiable<N extends java.lang.Comparable<N>>
      • add

        default void add​(long index,
                         int addend)
        Specified by:
        add in interface Mutate1D.Modifiable<N extends java.lang.Comparable<N>>
      • add

        default void add​(long index,
                         long addend)
        Specified by:
        add in interface Mutate1D.Modifiable<N extends java.lang.Comparable<N>>
      • add

        default void add​(long row,
                         long col,
                         byte addend)
      • add

        void add​(long row,
                 long col,
                 java.lang.Comparable<?> addend)
      • add

        void add​(long row,
                 long col,
                 double addend)
      • add

        default void add​(long row,
                         long col,
                         float addend)
      • add

        default void add​(long row,
                         long col,
                         int addend)
      • add

        default void add​(long row,
                         long col,
                         long addend)
      • add

        default void add​(long row,
                         long col,
                         short addend)
      • add

        default void add​(long index,
                         short addend)
        Specified by:
        add in interface Mutate1D.Modifiable<N extends java.lang.Comparable<N>>
      • modifyColumn

        default void modifyColumn​(long row,
                                  long col,
                                  UnaryFunction<N> modifier)
      • modifyColumn

        default void modifyColumn​(long col,
                                  UnaryFunction<N> modifier)
      • modifyDiagonal

        default void modifyDiagonal​(long row,
                                    long col,
                                    UnaryFunction<N> modifier)
      • modifyDiagonal

        default void modifyDiagonal​(UnaryFunction<N> modifier)
      • modifyMatchingInColumns

        default void modifyMatchingInColumns​(Access1D<N> left,
                                             BinaryFunction<N> function)
        "Matching In Columns" refers to that the supplied, left, data structure will be treated as a column, matching the columns of this structure. Matching columns have the same number of rows.

        This method will modify all elements of this structure by applying the modifier function to each of them. The left/first argument to the modifier function is taken from the supplied data structure, and the row-index determines which element.

      • modifyOne

        void modifyOne​(long row,
                       long col,
                       UnaryFunction<N> modifier)
      • modifyRow

        default void modifyRow​(long row,
                               long col,
                               UnaryFunction<N> modifier)
      • modifyRow

        default void modifyRow​(long row,
                               UnaryFunction<N> modifier)