Interface StructureAnyD.ReducibleTo1D<R extends Structure1D>

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

public static interface StructureAnyD.ReducibleTo1D<R extends Structure1D> extends StructureAnyD
  • Method Details

    • reduce

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