Interface ElementsSupplier<N extends Comparable<N>>
- All Superinterfaces:
Access2D.Collectable<N, TransformableRegion<N>>, Operate2D<N, ElementsSupplier<N>>, Structure1D, Structure2D
- All Known Subinterfaces:
DecompositionStore<N>, MatrixStore<N>, PhysicalStore<N>
- All Known Implementing Classes:
AboveBelowStore, AbstractStore, ColumnsStore, ColumnsSupplier, ComposingStore, CompressedSparseR064, ConjugatedStore, DiagonalStore, FactoryStore, GenericStore, IdentityStore, ImageData, ImageData.SingleChannel, LeftRightStore, LimitStore, LogicalStore, LowerHessenbergStore, LowerSymmetricStore, LowerTriangularStore, MatrixPipeline, MatrixPipeline.BinaryOperatorLeft, MatrixPipeline.BinaryOperatorRight, MatrixPipeline.ColumnsModifier, MatrixPipeline.ColumnsReducer, MatrixPipeline.Multiplication, MatrixPipeline.RowsModifier, MatrixPipeline.RowsReducer, MatrixPipeline.Transformer, MatrixPipeline.Transpose, MatrixPipeline.UnaryOperator, OffsetStore, R032Store, R064CSC, R064CSR, R064Store, RawStore, RepeatedColumnsStore, RepeatedRowsStore, RowsStore, RowsSupplier, SelectingStore, ShadingStore, SingleStore, SparseStore, SuperimposedStore, TransjugatedStore, TransposedStore, UnaryOperatoStore, UpperHessenbergStore, UpperSymmetricStore, UpperTriangularStore, WrapperStore, ZeroStore
public interface ElementsSupplier<N extends Comparable<N>>
extends Operate2D<N, ElementsSupplier<N>>, Access2D.Collectable<N, TransformableRegion<N>>
An
ElementsSupplier is not necessarily (or not yet) a matrix, but something from which the elements
of a matrix can be derived. There are several matrix related things you can do with them:
- You can query the size/shape of the (future) matrix.
- You can supply the elements to an already existing matrix (or more precisely to a TransformableRegion) or collect them into a new matrix using a Factory2D.
- You can define a stream of additional operations to be executed when the elements are extracted.
-
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 Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S,B>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R>, Structure2D.Reshapable, Structure2D.RowColumnKey<R, C>, Structure2D.RowColumnMapper<R, C> -
Method Summary
Modifier and TypeMethodDescriptiondefault ElementsSupplier<N> onAll(UnaryFunction<N> operator) default ElementsSupplier<N> onAny(Transformation2D<N> operator) default ElementsSupplier<N> onColumns(BinaryFunction<N> operator, Access1D<N> right) default ElementsSupplier<N> onColumns(Access1D<N> left, BinaryFunction<N> operator) default ElementsSupplier<N> onMatching(BinaryFunction<N> operator, Access2D<N> right) default ElementsSupplier<N> onMatching(Access2D<N> left, BinaryFunction<N> operator) default ElementsSupplier<N> onRows(BinaryFunction<N> operator, Access1D<N> right) default ElementsSupplier<N> onRows(Access1D<N> left, BinaryFunction<N> operator) default ElementsSupplier<N> Methods inherited from interface Access2D.Collectable
collect, supplyToMethods inherited from interface Operate2D
onAll, onAll, onAll, onAll, onAll, onCompatible, onCompatibleMethods inherited from interface Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
Method Details
-
onAll
- Specified by:
onAllin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
onAny
- Specified by:
onAnyin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
onColumns
- Specified by:
onColumnsin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
onColumns
- Specified by:
onColumnsin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
onMatching
- Specified by:
onMatchingin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
onMatching
- Specified by:
onMatchingin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
onRows
- Specified by:
onRowsin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
onRows
- Specified by:
onRowsin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
transpose
-