Interface Matrix.ElementHandler

Enclosing interface:
Matrix

public static interface Matrix.ElementHandler
Handler used to iterate a matrix and get values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onElement(int i, int j, double value)
    This method is called for each element of the matrix.
    default void
    onValue(int i, int j, double value)
    Deprecated.
  • Method Details

    • onElement

      void onElement(int i, int j, double value)
      This method is called for each element of the matrix.
      Parameters:
      i - row index
      j - column index
      value - the value at position (i, j)
    • onValue

      @Deprecated(since="2.5.0") default void onValue(int i, int j, double value)
      Deprecated.