Interface StructureAnyD.ReducibleTo2D<R extends Structure2D>
- All Superinterfaces:
Structure1D, StructureAnyD
- All Known Implementing Classes:
ArrayAnyD
- Enclosing interface:
StructureAnyD
-
Nested Class Summary
Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallbackNested classes/interfaces inherited from interface StructureAnyD
StructureAnyD.IntReference, StructureAnyD.Logical<S,B>, StructureAnyD.LongReference, StructureAnyD.ReducibleTo1D<R>, StructureAnyD.ReducibleTo2D<R>, StructureAnyD.ReferenceCallback, StructureAnyD.ReferenceMapper, StructureAnyD.Reshapable -
Method Summary
Modifier and TypeMethodDescriptionreduce(int rowDimension, int columnDimension, Aggregator aggregator) Methods inherited from interface Structure1D
count, sizeMethods inherited from interface StructureAnyD
count, loop, loop, loopAllReferences, loopReferences, rank, shape, size
-
Method Details
-
reduce
- 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
-