Interface StructureAnyD.ReducibleTo2D<R extends Structure2D>

    • Method Detail

      • 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