Interface MatrixStore<N extends Comparable<N>>
- All Superinterfaces:
Access1D<N>, Access1D.Aggregatable<N>, Access1D.Collectable<N,Mutate1D>, Access1D.Sliceable<N>, Access1D.Visitable<N>, Access2D<N>, Access2D.Aggregatable<N>, Access2D.Collectable<N, TransformableRegion<N>>, Access2D.Sliceable<N>, Access2D.Visitable<N>, ElementsSupplier<N>, Group, Group.Additive<MatrixStore<N>>, Matrix2D<N, MatrixStore<N>>, NormedVectorSpace<MatrixStore<N>, N>, Operate2D<N, ElementsSupplier<N>>, Operation, Operation.Addition<MatrixStore<N>>, Operation.Multiplication<MatrixStore<N>>, Operation.Subtraction<MatrixStore<N>>, ScalarOperation, ScalarOperation.Addition<MatrixStore<N>, N>, ScalarOperation.Division<MatrixStore<N>, N>, ScalarOperation.Multiplication<MatrixStore<N>, N>, ScalarOperation.Subtraction<MatrixStore<N>, N>, Structure1D, Structure2D, Structure2D.Logical<Access2D<N>, MatrixStore<N>>, Structure2D.ReducibleTo1D<ElementsSupplier<N>>, VectorSpace<MatrixStore<N>, N>
- All Known Subinterfaces:
DecompositionStore<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, 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 MatrixStore<N extends Comparable<N>>
extends Matrix2D<N, MatrixStore<N>>, ElementsSupplier<N>, Access2D.Visitable<N>, Access2D.Sliceable<N>, Structure2D.ReducibleTo1D<ElementsSupplier<N>>, Structure2D.Logical<Access2D<N>, MatrixStore<N>>, Access1D.Collectable<N,Mutate1D>
A MatrixStore is a two dimensional store of numbers/scalars.
A MatrixStore extends Access2D (as well as
Access2D.Visitable and
) and defines some further functionality - mainly matrix
multiplication.
invalid reference
org.ojalgo.structure.Access2D.Elements
This interface does not define any methods that require implementations to alter the matrix. Either the methods return matrix elements, some meta data or produce new instances.
The methods conjugate(), copy() and transpose() return PhysicalStore instances. PhysicalStore extends MatrixStore. It defines additional methods, and is mutable.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Access2D
Access2D.Aggregatable<N>, Access2D.Collectable<N,R>, Access2D.ColumnView<N>, Access2D.ElementView<N>, Access2D.RowView<N>, Access2D.SelectionView<N>, Access2D.Sliceable<N>, Access2D.Visitable<N> Nested classes/interfaces inherited from interface Group
Group.Additive<T>, Group.Multiplicative<T>Nested classes/interfaces inherited from interface Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>Nested classes/interfaces inherited from interface ScalarOperation
ScalarOperation.Addition<T,N>, ScalarOperation.Division<T, N>, ScalarOperation.Multiplication<T, N>, ScalarOperation.Subtraction<T, N> Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback Nested 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 MatrixStore<N> above(long numberOfRows) default MatrixStore<N> default MatrixStore<N> default MatrixStore<N> add(double scalarAddend) default MatrixStore<N> default MatrixStore<N> add(MatrixStore<N> addend) default NaggregateAll(Aggregator aggregator) default NaggregateColumn(long row, long col, Aggregator aggregator) default NaggregateDiagonal(long row, long col, Aggregator aggregator) default NaggregateRange(long first, long limit, Aggregator aggregator) default NaggregateRow(long row, long col, Aggregator aggregator) default MatrixStore<N> below(long numberOfRows) default MatrixStore<N> default MatrixStore<N> default MatrixStore<N> bidiagonal(boolean upper) default MatrixStore<N> column(int column) default MatrixStore<N> column(long column) default MatrixStore<N> columns(int... columns) A selection (re-ordering) of columns.default MatrixStore<N> columns(long... columns) default MatrixStore<N> Returns the conjugate transpose of this matrix.default PhysicalStore<N> copy()Each call must produce a new instance.default MatrixStore<N> diagonal()default MatrixStore<N> diagonally(Access2D<N>... diagonally) default MatrixStore<N> divide(double scalarDivisor) default MatrixStore<N> default doubledoubleValue(int row, int col) Extracts one element of this matrix as a double.default booleanequals(MatrixStore<N> other, NumberContext context) default MatrixStore<N> get()Deprecated.get(int row, int col) default Nget(long row, long col) default MatrixStore<N> hermitian(boolean upper) Similar toStructure2D.Logical.symmetric(boolean)but in addition the mirrored elements are conjugated.default MatrixStore<N> hessenberg(boolean upper) default longdefault booleandefault booleanisNormal()default booleanisSmall(double comparedTo) default booleanisSmall(long row, long col, double comparedTo) default MatrixStore<N> left(long numberOfColumns) default MatrixStore<N> default MatrixStore<N> default MatrixStore<N> 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)default MatrixStore<N> logical()Deprecated.v50 No need asMatrixStorenow implements.invalid reference
Logicaldefault MatrixStore<N> multiply(double scalarMultiplicand) default MatrixStore<N> default MatrixStore<N> multiply(MatrixStore<N> right) default voidmultiply(Access1D<N> right, TransformableRegion<N> target) default NmultiplyBoth(Access1D<N> leftAndRight) Assumes [leftAndRight] is a vector and will calulate [leftAndRight]H[this][leftAndRight]default MatrixStore<N> negate()The additive inverse of this.default doublenorm()this == this.signum().multiply(this.norm())default MatrixStore<N> offsets(long rowOffset, long columnOffset) default MatrixStore<N> onAll(UnaryFunction<N> operator) default ElementsSupplier<N> operate()physical()default MatrixStore<N> power(int power) Multiply this matrix by itselfpowertimes.default ElementsSupplier<N> premultiply(Access1D<N> left) Thepremultiplymethod differs frommultiplyin 3 ways: The matrix positions are swapped - left/right. It does NOT return a MatrixStore but an ElementsSupplier instead. It accepts an Access1D as the argument left matrix.default ElementsSupplier<N> reduceColumns(Aggregator aggregator) default ElementsSupplier<N> reduceRows(Aggregator aggregator) default MatrixStore<N> repeat(int rowsRepetitions, int columnsRepetitions) Will repeat this structure creating a new structure with a multiple of rows and columns.default MatrixStore<N> right(long numberOfColumns) default MatrixStore<N> default MatrixStore<N> default MatrixStore<N> row(int row) default MatrixStore<N> row(long row) default MatrixStore<N> rows(int... rows) A selection (re-ordering) of rows.default MatrixStore<N> rows(long... rows) default MatrixStore<N> select(int[] rows, int[] columns) default MatrixStore<N> select(long[] rows, long[] columns) Creates a view of the underlying data structure of only the selected elements.default MatrixStore<N> signum()this == this.signum().multiply(this.norm())sliceColumn(long row, long col) sliceDiagonal(long row, long col) sliceRange(long first, long limit) sliceRow(long row, long col) default MatrixStore<N> subtract(double scalarSubtrahend) default MatrixStore<N> default MatrixStore<N> subtract(MatrixStore<N> subtrahend) default MatrixStore<N> superimpose(long row, long col, Access2D<N> matrix) default MatrixStore<N> superimpose(Access2D<N> matrix) default voidsupplyTo(TransformableRegion<N> receiver) default voiddefault MatrixStore<N> symmetric(boolean upper) Defines a symmetricStructure2D(matrix) by mirroring one half (diagonally) on the other.toScalar(int row, int col) Extracts one element of this matrix as a Scalar.default MatrixStore<N> default MatrixStore<N> triangular(boolean upper, boolean assumeOne) default MatrixStore<N> default voidvisitOne(long row, long col, VoidFunction<N> visitor) Methods inherited from interface Access1D
asCollectable1D, asKeyed1D, asList, axpy, dot, select, supplyTo, toList, toRawCopy1DMethods inherited from interface Access1D.Collectable
collectMethods inherited from interface Access1D.Visitable
visitAll, visitRangeMethods inherited from interface Access2D
asCollectable2D, asKeyed2D, byteValue, byteValue, byteValue, byteValue, columns, doubleValue, doubleValue, doubleValue, elements, floatValue, floatValue, floatValue, floatValue, get, intValue, intValue, intValue, intValue, longValue, longValue, longValue, longValue, nonzeros, rows, shortValue, shortValue, shortValue, shortValue, toRawCopy2DMethods inherited from interface Access2D.Aggregatable
aggregateColumn, aggregateDiagonal, aggregateRow, reduceColumns, reduceRowsMethods inherited from interface Access2D.Collectable
collectMethods inherited from interface Access2D.Sliceable
sliceColumn, sliceDiagonal, sliceRowMethods inherited from interface Access2D.Visitable
visitColumn, visitColumn, visitDiagonal, visitDiagonal, visitOne, visitRow, visitRowMethods inherited from interface ElementsSupplier
onAny, onColumns, onColumns, onMatching, onMatching, onRows, onRowsMethods inherited from interface Operate2D
onAll, onAll, onAll, onAll, onAll, onCompatible, onCompatibleMethods inherited from interface ScalarOperation.Addition
addMethods inherited from interface ScalarOperation.Division
divideMethods inherited from interface ScalarOperation.Multiplication
multiplyMethods inherited from interface ScalarOperation.Subtraction
subtractMethods inherited from interface Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
Method Details
-
above
- Specified by:
abovein interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
above
- Specified by:
abovein interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
above
- Specified by:
abovein interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
add
- Specified by:
addin interfaceScalarOperation.Addition<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this + scalarAddend.
-
add
- Specified by:
addin interfaceOperation.Addition<N extends Comparable<N>>- Parameters:
addend- What to add- Returns:
this + addend
-
add
- Specified by:
addin interfaceScalarOperation.Addition<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this + scalarAddend.
-
aggregateAll
- Specified by:
aggregateAllin interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
aggregateColumn
- Specified by:
aggregateColumnin interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
aggregateDiagonal
- Specified by:
aggregateDiagonalin interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
aggregateRange
- Specified by:
aggregateRangein interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
aggregateRow
- Specified by:
aggregateRowin interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
below
- Specified by:
belowin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
below
- Specified by:
belowin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
below
- Specified by:
belowin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
bidiagonal
- Specified by:
bidiagonalin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
column
- Specified by:
columnin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- See Also:
-
column
- Specified by:
columnin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- 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.- Specified by:
columnsin interfaceAccess2D<N extends Comparable<N>>- Specified by:
columnsin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
columns
- Specified by:
columnsin interfaceAccess2D<N extends Comparable<N>>- Specified by:
columnsin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- See Also:
-
conjugate
Returns the conjugate transpose of this matrix. The conjugate transpose is also known as adjoint matrix, adjugate matrix, hermitian adjoint or hermitian transpose. (The conjugate matrix is the complex conjugate of each element. This NOT what is returned here!)- Specified by:
conjugatein interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- Specified by:
conjugatein interfaceVectorSpace<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- See Also:
-
copy
Each call must produce a new instance.- Returns:
- A new PhysicalStore copy.
-
diagonal
- Specified by:
diagonalin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- Returns:
- A diagonal matrix (main diagonal only)
-
diagonally
- Specified by:
diagonallyin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
divide
- Specified by:
dividein interfaceScalarOperation.Division<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this / scalarDivisor.
-
divide
- Specified by:
dividein interfaceScalarOperation.Division<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this / scalarDivisor.
-
doubleValue
default double doubleValue(int row, int col) Description copied from interface:Access2DExtracts one element of this matrix as a double.- Specified by:
doubleValuein interfaceAccess2D<N extends Comparable<N>>- Parameters:
row- A row index.col- A column index.- Returns:
- One matrix element
-
equals
-
get
Deprecated.v50 No need asMatrixStorenow implementsand this method simply return "this".invalid reference
Logical -
get
-
get
-
hermitian
Description copied from interface:Structure2D.LogicalSimilar toStructure2D.Logical.symmetric(boolean)but in addition the mirrored elements are conjugated.- Specified by:
hermitianin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
hessenberg
- Specified by:
hessenbergin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
indexOfLargest
default long indexOfLargest()- Specified by:
indexOfLargestin interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
isHermitian
default boolean isHermitian() -
isNormal
default boolean isNormal() -
isSmall
default boolean isSmall(double comparedTo) - Specified by:
isSmallin interfaceNormedVectorSpace<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Parameters:
comparedTo- What to compare with- Returns:
- true if this is small compared to the magnitude of the input reference value.
-
isSmall
default boolean isSmall(long row, long col, double comparedTo) -
left
- Specified by:
leftin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
left
- Specified by:
leftin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
left
- Specified by:
leftin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
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)- Specified by:
limitsin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
logical
Deprecated.v50 No need asMatrixStorenow implements.invalid reference
Logical -
multiply
-
multiply
- Specified by:
multiplyin interfaceScalarOperation.Multiplication<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this * scalarMultiplicand.
-
multiply
- Specified by:
multiplyin interfaceOperation.Multiplication<N extends Comparable<N>>- Parameters:
right- The multiplicand- Returns:
this * multiplicand.
-
multiply
- Specified by:
multiplyin interfaceScalarOperation.Multiplication<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this * multiplicand.
-
multiplyBoth
-
negate
Description copied from interface:Group.AdditiveThe additive inverse of this.- Specified by:
negatein interfaceGroup.Additive<N extends Comparable<N>>- Returns:
-this.
-
norm
default double norm()Description copied from interface:NormedVectorSpacethis == this.signum().multiply(this.norm())- Specified by:
normin interfaceNormedVectorSpace<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
- The norm
-
offsets
- Specified by:
offsetsin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
onAll
- Specified by:
onAllin interfaceElementsSupplier<N extends Comparable<N>>- Specified by:
onAllin interfaceOperate2D<N extends Comparable<N>, ElementsSupplier<N extends Comparable<N>>>
-
operate
-
physical
PhysicalStore.Factory<N,?> physical() -
power
Multiply this matrix by itselfpowertimes.- Specified by:
powerin interfaceOperation.Multiplication<N extends Comparable<N>>
-
premultiply
Thepremultiplymethod differs frommultiplyin 3 ways:- The matrix positions are swapped - left/right.
- It does NOT return a MatrixStore but an ElementsSupplier instead.
- It accepts an Access1D as the argument left matrix.
- Parameters:
left- The left matrix- Returns:
- The matrix product
-
reduceColumns
- Specified by:
reduceColumnsin interfaceStructure2D.ReducibleTo1D<N extends Comparable<N>>
-
reduceRows
- Specified by:
reduceRowsin interfaceStructure2D.ReducibleTo1D<N extends Comparable<N>>
-
repeat
Description copied from interface:Structure2D.LogicalWill repeat this structure creating a new structure with a multiple of rows and columns.- Specified by:
repeatin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- Parameters:
rowsRepetitions- The number of times to repeat the rowscolumnsRepetitions- The number of times to repeat the columns- Returns:
- The builder
-
right
- Specified by:
rightin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
right
- Specified by:
rightin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
right
- Specified by:
rightin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
row
- Specified by:
rowin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- See Also:
-
row
- Specified by:
rowin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- 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.- Specified by:
rowsin interfaceAccess2D<N extends Comparable<N>>- Specified by:
rowsin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
rows
- Specified by:
rowsin interfaceAccess2D<N extends Comparable<N>>- Specified by:
rowsin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- See Also:
-
select
- Specified by:
selectin interfaceAccess2D<N extends Comparable<N>>
-
select
Description copied from interface:Access2DCreates a view of the underlying data structure of only the selected elements. If either the rows or columns input arguments are null or empty arrays, then that transaltes to all rows and/or columns.- Specified by:
selectin interfaceAccess2D<N extends Comparable<N>>
-
signum
Description copied from interface:NormedVectorSpacethis == this.signum().multiply(this.norm())- Specified by:
signumin interfaceNormedVectorSpace<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
- A unit "vector"
-
sliceColumn
- Specified by:
sliceColumnin interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceDiagonal
- Specified by:
sliceDiagonalin interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceRange
- Specified by:
sliceRangein interfaceAccess1D.Sliceable<N extends Comparable<N>>
-
sliceRow
- Specified by:
sliceRowin interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
subtract
- Specified by:
subtractin interfaceScalarOperation.Subtraction<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this - scalarSubtrahend.
-
subtract
- Specified by:
subtractin interfaceOperation.Subtraction<N extends Comparable<N>>- Parameters:
subtrahend- The subtrahend- Returns:
this - subtrahend.
-
subtract
- Specified by:
subtractin interfaceScalarOperation.Subtraction<MatrixStore<N extends Comparable<N>>, N extends Comparable<N>>- Returns:
this - scalarSubtrahend.
-
superimpose
- Specified by:
superimposein interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
superimpose
- Specified by:
superimposein interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
supplyTo
- Specified by:
supplyToin interfaceAccess1D.Collectable<N extends Comparable<N>, Mutate1D>
-
supplyTo
- Specified by:
supplyToin interfaceAccess2D.Collectable<N extends Comparable<N>, TransformableRegion<N extends Comparable<N>>>
-
symmetric
Description copied from interface:Structure2D.LogicalDefines a symmetricStructure2D(matrix) by mirroring one half (diagonally) on the other.- Specified by:
symmetricin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- Parameters:
upper- From where are the elements read?
-
toScalar
Description copied from interface:Matrix2DExtracts one element of this matrix as a Scalar.- Specified by:
toScalarin interfaceMatrix2D<N extends Comparable<N>, MatrixStore<N extends Comparable<N>>>- Parameters:
row- A row index.col- A column index.- Returns:
- One matrix element as a Scalar.
-
transpose
- Specified by:
transposein interfaceElementsSupplier<N extends Comparable<N>>- Specified by:
transposein interfaceMatrix2D<N extends Comparable<N>, MatrixStore<N extends Comparable<N>>>- Specified by:
transposein interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>- Returns:
- A transposed matrix instance.
-
triangular
- Specified by:
triangularin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
tridiagonal
- Specified by:
tridiagonalin interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>, MatrixStore<N extends Comparable<N>>>
-
visitOne
- Specified by:
visitOnein interfaceAccess2D.Visitable<N extends Comparable<N>>
-
MatrixStorenow implementsinvalid reference