Documentation of 'org.la4j.matrix.functor.MatrixAccumulator' Java class
MatrixAccumulator
org.la4j.matrix.functor

Interface MatrixAccumulator



  • public interface MatrixAccumulator
    A matrix accumulator that accumulates elements across matrix.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double accumulate()
      Return the accumulated value and resets this accumulator.
      void update(int i, int j, double value)
      Updates a value that was accumulated so far with new matrix element.
    • Method Detail

      • update

        void update(int i,
                    int j,
                    double value)
        Updates a value that was accumulated so far with new matrix element.
        Parameters:
        i - the row index
        j - the column index
        value - the element's value
      • accumulate

        double accumulate()
        Return the accumulated value and resets this accumulator.
        Returns:
        an accumulated value

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.