public interface CoordinateFunctions
| Modifier and Type | Method and Description |
|---|---|
Iterable<long[]> |
allCoordinates()
Returns an Iterator that goes over all coordinates in the Matrix.
|
Iterable<long[]> |
availableCoordinates()
Returns an Iterator that only goes over the coordinates in the Matrix
that are stored.
|
boolean |
containsCoordinates(long... coordinates)
Determines if the given Coordinates are part of the Matrix.
|
long[] |
getCoordinatesOfMaximum()
Returns the position of the maximum value in a Matrix.
|
long[] |
getCoordinatesOfMinimum()
Returns the position of the minimum value in a Matrix.
|
Iterable<long[]> |
nonZeroCoordinates() |
Iterable<long[]> |
selectedCoordinates(long[]... selection)
Returns an Iterator that goes only over the Coordinates defined by the
selection.
|
Iterable<long[]> |
selectedCoordinates(String selection)
Returns an Iterator that goes only over the Coordinates defined by the
selection.
|
Iterable<long[]> nonZeroCoordinates()
Iterable<long[]> allCoordinates()
Iterable<long[]> availableCoordinates()
Iterable<long[]> selectedCoordinates(String selection)
selection - The String defining the selection of rows or columnsIterable<long[]> selectedCoordinates(long[]... selection)
selection - A list of long arrays defining the desired rows or columnslong[] getCoordinatesOfMaximum()
long[] getCoordinatesOfMinimum()
boolean containsCoordinates(long... coordinates)
coordinates - The coordinates to checkCopyright © 2015 Universal Java Matrix Package. All rights reserved.