Package org.ojalgo.structure
Interface Operate2D<N extends java.lang.Comparable<N>,P extends Operate2D<N,P>>
-
- All Superinterfaces:
Structure1D
,Structure2D
- All Known Subinterfaces:
DecompositionStore<N>
,ElementsSupplier<N>
,MatrixStore<N>
,PhysicalStore<N>
- All Known Implementing Classes:
AboveBelowStore
,AbstractStore
,BasicMatrix
,ColumnsStore
,ColumnsSupplier
,ComposingStore
,ConjugatedStore
,DiagonalStore
,FactoryStore
,GenericStore
,IdentityStore
,ImageData
,ImageData.SingleChannel
,IterativeASS.SchurComplementSolver
,LeftRightStore
,LimitStore
,LogicalStore
,LowerHessenbergStore
,LowerSymmetricStore
,LowerTriangularStore
,MatrixC128
,MatrixH256
,MatrixPipeline
,MatrixPipeline.BinaryOperatorLeft
,MatrixPipeline.BinaryOperatorRight
,MatrixPipeline.ColumnsModifier
,MatrixPipeline.ColumnsReducer
,MatrixPipeline.Multiplication
,MatrixPipeline.RowsModifier
,MatrixPipeline.RowsReducer
,MatrixPipeline.Transformer
,MatrixPipeline.Transpose
,MatrixPipeline.UnaryOperator
,MatrixQ128
,MatrixR032
,MatrixR064
,MatrixR128
,OffsetStore
,R032Store
,R064Store
,RawStore
,RepeatedColumnsStore
,RepeatedRowsStore
,RowsStore
,RowsSupplier
,SelectingStore
,ShadingStore
,SingleStore
,SparseStore
,SuperimposedStore
,TransjugatedStore
,TransposedStore
,UnaryOperatoStore
,UpperHessenbergStore
,UpperSymmetricStore
,UpperTriangularStore
,WrapperStore
,ZeroStore
public interface Operate2D<N extends java.lang.Comparable<N>,P extends Operate2D<N,P>> extends Structure2D
To be implemented by classes that are not directly mutable themselves, but that can operate on the elements of some internal/future 2D data structure – similar to streams in some sense.- Element-wise operations.
- The methods always return a new instance of the implementing class.
- The size or shape of the internal/future data does not change with these operations.
-
-
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.Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,B>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.Reshapable, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default P
onAll(double left, BinaryFunction<N> operator)
default P
onAll(N left, BinaryFunction<N> operator)
default P
onAll(BinaryFunction<N> operator, double right)
default P
onAll(BinaryFunction<N> operator, N right)
default P
onAll(ParameterFunction<N> operator, int parameter)
P
onAll(UnaryFunction<N> operator)
P
onAny(Transformation2D<N> operator)
P
onColumns(BinaryFunction<N> operator, Access1D<N> right)
P
onColumns(Access1D<N> left, BinaryFunction<N> operator)
default P
onCompatible(BinaryFunction<N> operator, Access2D<N> right)
default P
onCompatible(Access2D<N> left, BinaryFunction<N> operator)
P
onMatching(BinaryFunction<N> operator, Access2D<N> right)
P
onMatching(Access2D<N> left, BinaryFunction<N> operator)
P
onRows(BinaryFunction<N> operator, Access1D<N> right)
P
onRows(Access1D<N> left, BinaryFunction<N> operator)
-
Methods inherited from interface org.ojalgo.structure.Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
-
-
-
Method Detail
-
onAll
default P onAll(BinaryFunction<N> operator, double right)
-
onAll
default P onAll(BinaryFunction<N> operator, N right)
-
onAll
default P onAll(double left, BinaryFunction<N> operator)
-
onAll
default P onAll(N left, BinaryFunction<N> operator)
-
onAll
default P onAll(ParameterFunction<N> operator, int parameter)
-
onAll
P onAll(UnaryFunction<N> operator)
-
onAny
P onAny(Transformation2D<N> operator)
-
onColumns
P onColumns(Access1D<N> left, BinaryFunction<N> operator)
-
onColumns
P onColumns(BinaryFunction<N> operator, Access1D<N> right)
-
onCompatible
default P onCompatible(Access2D<N> left, BinaryFunction<N> operator)
-
onCompatible
default P onCompatible(BinaryFunction<N> operator, Access2D<N> right)
-
onMatching
P onMatching(Access2D<N> left, BinaryFunction<N> operator)
-
onMatching
P onMatching(BinaryFunction<N> operator, Access2D<N> right)
-
onRows
P onRows(Access1D<N> left, BinaryFunction<N> operator)
-
onRows
P onRows(BinaryFunction<N> operator, Access1D<N> right)
-
-