The pixel (top cell) values of a cubical grid with their dense ranks: distinct holds the distinct values in ascending java.lang.Double.compare order, and rank(p) is the position of pixel p's value in it. In the T-construction every cell takes the smallest value of the pixels containing it, so every cell's value is some pixel's and its rank is the smallest rank among those pixels: the grid engines order cells by integer ranks and look the values up only to report them or compare them.
Pixels are row-major, the last axis fastest. A NaN pixel is masked (not in the complex, see CubicalGridStream): it has no place in distinct and its rank is masked, one past every real rank. A minimum over ranks therefore skips masked pixels, and a cell's rank is masked exactly when every pixel containing it is masked.
Attributes
- Companion
- object
- Experimental
- true
- Source
- GridRanks.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any