Package org.ojalgo.structure
Interface StructureAnyD.ReducibleTo1D<R extends Structure1D>
- All Superinterfaces:
Structure1D
,StructureAnyD
- All Known Implementing Classes:
ArrayAnyD
- Enclosing interface:
StructureAnyD
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Nested classes/interfaces inherited from interface org.ojalgo.structure.StructureAnyD
StructureAnyD.IntReference, StructureAnyD.Logical<S extends StructureAnyD,
B extends StructureAnyD.Logical<S, B>>, StructureAnyD.LongReference, StructureAnyD.ReducibleTo1D<R extends Structure1D>, StructureAnyD.ReducibleTo2D<R extends Structure2D>, StructureAnyD.ReferenceCallback, StructureAnyD.ReferenceMapper, StructureAnyD.Reshapable -
Method Summary
Methods inherited from interface org.ojalgo.structure.Structure1D
count, size
Methods inherited from interface org.ojalgo.structure.StructureAnyD
count, loop, loop, loopAllReferences, loopReferences, rank, shape, size
-
Method Details
-
reduce
- 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
-