Interface StructureAnyD.ReducibleTo2D<R extends Structure2D>

All Superinterfaces:
Structure1D, StructureAnyD
All Known Implementing Classes:
ArrayAnyD
Enclosing interface:
StructureAnyD

public static interface StructureAnyD.ReducibleTo2D<R extends Structure2D> extends StructureAnyD
  • Method Details

    • reduce

      R reduce(int rowDimension, int columnDimension, Aggregator aggregator)
      Parameters:
      rowDimension - Which of the AnyD-dimensions should be mapped to the rows of the resulting 2D structure.
      columnDimension - Which of the AnyD-dimensions should be mapped to the columns of the resulting 2D structure.
      aggregator - How to aggregate the values of the reduction
      Returns:
      A 2D data structure with aggregated values