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

Interface MatrixPredicate



  • public interface MatrixPredicate
    A matrix predicate that tests each matrix element.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean test(int rows, int columns)
      Tests number of rows and columns in the matrix.
      boolean test(int i, int j, double value)
      Tests matrix element.
    • Method Detail

      • test

        boolean test(int rows,
                     int columns)
        Tests number of rows and columns in the matrix.
        Parameters:
        rows - the number of rows
        columns - the number of columns
        Returns:
        whether the shape meets this predicate
      • test

        boolean test(int i,
                     int j,
                     double value)
        Tests matrix element.
        Parameters:
        i - the row index
        j - the column index
        value - the element's value
        Returns:
        whether the element meets this predicate

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.