public static interface StructureAnyD.ReducibleTo2D<R extends Structure2D> extends StructureAnyD
StructureAnyD.IntReference, StructureAnyD.LongReference, StructureAnyD.ReducibleTo1D<R extends Structure1D>, StructureAnyD.ReducibleTo2D<R extends Structure2D>, StructureAnyD.ReferenceCallback, StructureAnyD.ReferenceMapper
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier and Type | Method and Description |
---|---|
R |
reduce(int rowDimension,
int columnDimension,
Aggregator aggregator) |
count, count, count, count, count, count, index, index, index, loop, loop, loop, loopAll, loopMatching, mapperOf, rank, reference, shape, shape, step, step, step, step
loopAll, loopMatching, loopRange, mapper
R reduce(int rowDimension, int columnDimension, Aggregator aggregator)
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 reductionCopyright © 2018 Optimatika. All rights reserved.