public static interface StructureAnyD.ReducibleTo2D<R extends Structure2D> extends StructureAnyD
StructureAnyD.IntReference, StructureAnyD.Logical<S extends StructureAnyD,B extends StructureAnyD.Logical<S,?>>, 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
index, loopAll, loopMatching, loopRange, mapper, size
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 © 2019 Optimatika. All rights reserved.