Package org.ojalgo.structure
Interface Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,B>>
- All Superinterfaces:
Structure1D
,Structure2D
- All Known Subinterfaces:
DecompositionStore<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
,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
- Enclosing interface:
Structure2D
public static interface Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,B>>
extends Structure2D
-
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
Modifier and TypeMethodDescriptionabove
(long numberOfRows) below
(long numberOfRows) bidiagonal
(boolean upper) default B
column
(int column) default B
column
(long column) columns
(int... columns) A selection (re-ordering) of columns.default B
columns
(long... columns) Same astranspose()
but in addition the elements are conjugated.diagonal()
diagonally
(S... diagonally) hermitian
(boolean upper) Similar tosymmetric(boolean)
but in addition the mirrored elements are conjugated.hessenberg
(boolean upper) left
(long numberOfColumns) limits
(long rowLimit, long columnLimit) Setting either limit to < 0 is interpreted as "no limit" (useful when you only want to limit either the rows or columns, and don't know the size of the other)offsets
(long rowOffset, long columnOffset) repeat
(int rowsRepetitions, int columnsRepetitions) Will repeat this structure creating a new structure with a multiple of rows and columns.right
(long numberOfColumns) default B
row
(int row) default B
row
(long row) rows
(int... rows) A selection (re-ordering) of rows.default B
rows
(long... rows) superimpose
(long row, long col, S matrix) default B
superimpose
(S matrix) symmetric
(boolean upper) Defines a symmetricStructure2D
(matrix) by mirroring one half (diagonally) on the other.triangular
(boolean upper, boolean assumeOne) 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 Details
-
above
-
above
-
above
-
below
-
below
-
below
-
bidiagonal
-
column
- See Also:
-
column
- See Also:
-
columns
A selection (re-ordering) of columns. Note that it's ok to reference the same base column more than once, and any negative column reference/index will translate to a column of zeros. The number of columns in the resulting matrix is the same as the number of elements in the columns index array. -
columns
- See Also:
-
conjugate
B conjugate()Same astranspose()
but in addition the elements are conjugated. -
diagonal
B diagonal()- Returns:
- A diagonal matrix (main diagonal only)
-
diagonally
-
hermitian
Similar tosymmetric(boolean)
but in addition the mirrored elements are conjugated. -
hessenberg
-
left
-
left
-
left
-
limits
Setting either limit to < 0 is interpreted as "no limit" (useful when you only want to limit either the rows or columns, and don't know the size of the other) -
offsets
-
repeat
Will repeat this structure creating a new structure with a multiple of rows and columns.- Parameters:
rowsRepetitions
- The number of times to repeat the rowscolumnsRepetitions
- The number of times to repeat the columns- Returns:
- The builder
-
right
-
right
-
right
-
row
- See Also:
-
row
- See Also:
-
rows
A selection (re-ordering) of rows. Note that it's ok to reference the same base row more than once, and any negative row reference/index will translate to a row of zeros. The number of rows in the resulting matrix is the same as the number of elements in the rows index array. -
rows
- See Also:
-
superimpose
-
superimpose
-
symmetric
Defines a symmetricStructure2D
(matrix) by mirroring one half (diagonally) on the other.- Parameters:
upper
- From where are the elements read?
-
transpose
B transpose() -
triangular
-
tridiagonal
B tridiagonal()
-