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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description B
above(long numberOfRows)
B
above(S above)
B
above(S... above)
B
below(long numberOfRows)
B
below(S below)
B
below(S... below)
B
bidiagonal(boolean upper)
default B
column(int column)
default B
column(long column)
B
columns(int... columns)
A selection (re-ordering) of columns.default B
columns(long... columns)
B
conjugate()
Same astranspose()
but in addition the elements are conjugated.B
diagonal()
B
diagonally(S... diagonally)
B
hermitian(boolean upper)
Similar tosymmetric(boolean)
but in addition the mirrored elements are conjugated.B
hessenberg(boolean upper)
B
left(long numberOfColumns)
B
left(S left)
B
left(S... left)
B
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)B
offsets(long rowOffset, long columnOffset)
B
repeat(int rowsRepetitions, int columnsRepetitions)
Will repeat this structure creating a new structure with a multiple of rows and columns.B
right(long numberOfColumns)
B
right(S right)
B
right(S... right)
default B
row(int row)
default B
row(long row)
B
rows(int... rows)
A selection (re-ordering) of rows.default B
rows(long... rows)
B
superimpose(long row, long col, S matrix)
default B
superimpose(S matrix)
B
symmetric(boolean upper)
Defines a symmetricStructure2D
(matrix) by mirroring one half (diagonally) on the other.B
transpose()
B
triangular(boolean upper, boolean assumeOne)
B
tridiagonal()
-
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
-
above
B above(long numberOfRows)
-
below
B below(long numberOfRows)
-
bidiagonal
B bidiagonal(boolean upper)
-
column
default B column(int column)
- See Also:
columns(int[])
-
column
default B column(long column)
- See Also:
columns(int[])
-
columns
B columns(int... 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
default B columns(long... columns)
- See Also:
columns(int[])
-
conjugate
B conjugate()
Same astranspose()
but in addition the elements are conjugated.
-
diagonal
B diagonal()
- Returns:
- A diagonal matrix (main diagonal only)
-
hermitian
B hermitian(boolean upper)
Similar tosymmetric(boolean)
but in addition the mirrored elements are conjugated.
-
hessenberg
B hessenberg(boolean upper)
-
left
B left(long numberOfColumns)
-
limits
B 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
B offsets(long rowOffset, long columnOffset)
-
repeat
B repeat(int rowsRepetitions, int columnsRepetitions)
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
B right(long numberOfColumns)
-
row
default B row(int row)
- See Also:
rows(int[])
-
row
default B row(long row)
- See Also:
rows(int[])
-
rows
B rows(int... 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
default B rows(long... rows)
- See Also:
rows(int[])
-
symmetric
B symmetric(boolean upper)
Defines a symmetricStructure2D
(matrix) by mirroring one half (diagonally) on the other.- Parameters:
upper
- From where are the elements read?
-
transpose
B transpose()
-
triangular
B triangular(boolean upper, boolean assumeOne)
-
tridiagonal
B tridiagonal()
-
-