Package org.ojalgo.matrix.store
Interface MatrixStore<N extends Comparable<N>>
- All Superinterfaces:
Access1D<N>
,Access1D.Aggregatable<N>
,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
,ConjugatedStore
,DiagonalStore
,FactoryStore
,GenericStore
,IdentityStore
,ImageData
,ImageData.SingleChannel
,IterativeASS.SchurComplementSolver
,LeftRightStore
,LimitStore
,LogicalStore
,LowerHessenbergStore
,LowerSymmetricStore
,LowerTriangularStore
,OffsetStore
,R032Store
,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>>
A MatrixStore is a two dimensional store of numbers/scalars.
A MatrixStore extends Access2D (as well as
Access2D.Visitable and
) and defines some futher funtionality - 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 org.ojalgo.structure.Access2D
Access2D.Aggregatable<N extends Comparable<N>>, Access2D.Collectable<N extends Comparable<N>,
R extends Mutate2D>, Access2D.ColumnView<N extends Comparable<N>>, Access2D.ElementView<N extends Comparable<N>>, Access2D.RowView<N extends Comparable<N>>, Access2D.SelectionView<N extends Comparable<N>>, Access2D.Sliceable<N extends Comparable<N>>, Access2D.Visitable<N extends Comparable<N>> Nested classes/interfaces inherited from interface org.ojalgo.algebra.Group
Group.Additive<T>, Group.Multiplicative<T>
Nested classes/interfaces inherited from interface org.ojalgo.algebra.Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>
Nested classes/interfaces inherited from interface org.ojalgo.algebra.ScalarOperation
ScalarOperation.Addition<T,
N extends Comparable<N>>, ScalarOperation.Division<T, N extends Comparable<N>>, ScalarOperation.Multiplication<T, N extends Comparable<N>>, ScalarOperation.Subtraction<T, N extends Comparable<N>> Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,
B extends Structure1D.Logical<S, B>>, 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 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 N
aggregateAll
(Aggregator aggregator) default N
aggregateColumn
(long row, long col, Aggregator aggregator) default N
aggregateDiagonal
(long row, long col, Aggregator aggregator) default N
aggregateRange
(long first, long limit, Aggregator aggregator) default N
aggregateRow
(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 double
doubleValue
(int row, int col) Extracts one element of this matrix as a double.default boolean
equals
(MatrixStore<N> other, NumberContext context) default MatrixStore
<N> get()
Deprecated.get
(int row, int col) default N
get
(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 long
default boolean
default boolean
isNormal()
default boolean
isSmall
(double comparedTo) default boolean
isSmall
(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 asMatrixStore
now implementsinvalid reference
Logical
default MatrixStore
<N> multiply
(double scalarMultiplicand) default MatrixStore
<N> default MatrixStore
<N> multiply
(MatrixStore<N> right) default void
multiply
(Access1D<N> right, TransformableRegion<N> target) default N
multiplyBoth
(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 double
norm()
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 itselfpower
times.default ElementsSupplier
<N> premultiply
(Access1D<N> left) Thepremultiply
method differs frommultiply
in 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 void
supplyTo
(TransformableRegion<N> receiver) default 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 void
visitOne
(long row, long col, VoidFunction<N> visitor) Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, dot, select, supplyTo, toRawCopy1D
Methods inherited from interface org.ojalgo.structure.Access1D.Visitable
visitAll, visitRange
Methods inherited from interface org.ojalgo.structure.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, toRawCopy2D
Methods inherited from interface org.ojalgo.structure.Access2D.Aggregatable
aggregateColumn, aggregateDiagonal, aggregateRow, reduceColumns, reduceRows
Methods inherited from interface org.ojalgo.structure.Access2D.Collectable
collect
Methods inherited from interface org.ojalgo.structure.Access2D.Sliceable
sliceColumn, sliceDiagonal, sliceRow
Methods inherited from interface org.ojalgo.structure.Access2D.Visitable
visitColumn, visitColumn, visitDiagonal, visitDiagonal, visitOne, visitRow, visitRow
Methods inherited from interface org.ojalgo.matrix.store.ElementsSupplier
onAny, onColumns, onColumns, onMatching, onMatching, onRows, onRows
Methods inherited from interface org.ojalgo.structure.Operate2D
onAll, onAll, onAll, onAll, onAll, onCompatible, onCompatible
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Addition
add
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Division
divide
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Multiplication
multiply
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Subtraction
subtract
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
- Specified by:
above
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
above
- Specified by:
above
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
above
- Specified by:
above
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
add
- Specified by:
add
in interfaceScalarOperation.Addition<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
this + scalarAddend
.
-
add
- Specified by:
add
in interfaceOperation.Addition<N extends Comparable<N>>
- Parameters:
addend
- What to add- Returns:
this + addend
-
add
- Specified by:
add
in interfaceScalarOperation.Addition<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
this + scalarAddend
.
-
aggregateAll
- Specified by:
aggregateAll
in interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
aggregateColumn
- Specified by:
aggregateColumn
in interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
aggregateDiagonal
- Specified by:
aggregateDiagonal
in interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
aggregateRange
- Specified by:
aggregateRange
in interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
aggregateRow
- Specified by:
aggregateRow
in interfaceAccess2D.Aggregatable<N extends Comparable<N>>
-
below
- Specified by:
below
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
below
- Specified by:
below
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
below
- Specified by:
below
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
bidiagonal
- Specified by:
bidiagonal
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
column
- Specified by:
column
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>> - See Also:
-
column
- Specified by:
column
in 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:
columns
in interfaceAccess2D<N extends Comparable<N>>
- Specified by:
columns
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
columns
- Specified by:
columns
in interfaceAccess2D<N extends Comparable<N>>
- Specified by:
columns
in 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:
conjugate
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>> - Specified by:
conjugate
in 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:
diagonal
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>> - Returns:
- A diagonal matrix (main diagonal only)
-
diagonally
- Specified by:
diagonally
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
divide
- Specified by:
divide
in interfaceScalarOperation.Division<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
this / scalarDivisor
.
-
divide
- Specified by:
divide
in 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:Access2D
Extracts one element of this matrix as a double.- Specified by:
doubleValue
in interfaceAccess2D<N extends Comparable<N>>
- Parameters:
row
- A row index.col
- A column index.- Returns:
- One matrix element
-
equals
-
get
Deprecated.v50 No need asMatrixStore
now implementsinvalid reference
Logical
-
get
-
get
- Specified by:
get
in interfaceAccess2D<N extends Comparable<N>>
-
hermitian
Description copied from interface:Structure2D.Logical
Similar toStructure2D.Logical.symmetric(boolean)
but in addition the mirrored elements are conjugated.- Specified by:
hermitian
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
hessenberg
- Specified by:
hessenberg
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
indexOfLargest
default long indexOfLargest()- Specified by:
indexOfLargest
in interfaceAccess1D.Aggregatable<N extends Comparable<N>>
-
isHermitian
default boolean isHermitian() -
isNormal
default boolean isNormal() -
isSmall
default boolean isSmall(double comparedTo) - Specified by:
isSmall
in 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:
left
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
left
- Specified by:
left
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
left
- Specified by:
left
in 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:
limits
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
logical
Deprecated.v50 No need asMatrixStore
now implementsinvalid reference
Logical
-
multiply
-
multiply
- Specified by:
multiply
in interfaceScalarOperation.Multiplication<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
this * scalarMultiplicand
.
-
multiply
- Specified by:
multiply
in interfaceOperation.Multiplication<N extends Comparable<N>>
- Parameters:
right
- The multiplicand- Returns:
this * multiplicand
.
-
multiply
- Specified by:
multiply
in interfaceScalarOperation.Multiplication<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
this * multiplicand
.
-
multiplyBoth
Assumes [leftAndRight] is a vector and will calulate [leftAndRight]H[this][leftAndRight]- Parameters:
leftAndRight
- The argument vector- Returns:
- A scalar (extracted from the resulting 1 x 1 matrix)
-
negate
Description copied from interface:Group.Additive
The additive inverse of this.- Specified by:
negate
in interfaceGroup.Additive<N extends Comparable<N>>
- Returns:
-this
.
-
norm
default double norm()Description copied from interface:NormedVectorSpace
this == this.signum().multiply(this.norm())
- Specified by:
norm
in interfaceNormedVectorSpace<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
- The norm
-
offsets
- Specified by:
offsets
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
onAll
- Specified by:
onAll
in interfaceElementsSupplier<N extends Comparable<N>>
- Specified by:
onAll
in interfaceOperate2D<N extends Comparable<N>,
ElementsSupplier<N extends Comparable<N>>>
-
operate
-
physical
PhysicalStore.Factory<N,?> physical() -
power
Multiply this matrix by itselfpower
times.- Specified by:
power
in interfaceOperation.Multiplication<N extends Comparable<N>>
-
premultiply
Thepremultiply
method differs frommultiply
in 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:
reduceColumns
in interfaceStructure2D.ReducibleTo1D<N extends Comparable<N>>
-
reduceRows
- Specified by:
reduceRows
in interfaceStructure2D.ReducibleTo1D<N extends Comparable<N>>
-
repeat
Description copied from interface:Structure2D.Logical
Will repeat this structure creating a new structure with a multiple of rows and columns.- Specified by:
repeat
in 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:
right
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
right
- Specified by:
right
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
right
- Specified by:
right
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
row
- Specified by:
row
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>> - See Also:
-
row
- Specified by:
row
in 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:
rows
in interfaceAccess2D<N extends Comparable<N>>
- Specified by:
rows
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
rows
- Specified by:
rows
in interfaceAccess2D<N extends Comparable<N>>
- Specified by:
rows
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>> - See Also:
-
select
- Specified by:
select
in interfaceAccess2D<N extends Comparable<N>>
-
select
Description copied from interface:Access2D
Creates 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:
select
in interfaceAccess2D<N extends Comparable<N>>
-
signum
Description copied from interface:NormedVectorSpace
this == this.signum().multiply(this.norm())
- Specified by:
signum
in interfaceNormedVectorSpace<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
- A unit "vector"
-
sliceColumn
- Specified by:
sliceColumn
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceDiagonal
- Specified by:
sliceDiagonal
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
sliceRange
- Specified by:
sliceRange
in interfaceAccess1D.Sliceable<N extends Comparable<N>>
-
sliceRow
- Specified by:
sliceRow
in interfaceAccess2D.Sliceable<N extends Comparable<N>>
-
subtract
- Specified by:
subtract
in interfaceScalarOperation.Subtraction<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
this - scalarSubtrahend
.
-
subtract
- Specified by:
subtract
in interfaceOperation.Subtraction<N extends Comparable<N>>
- Parameters:
subtrahend
- The subtrahend- Returns:
this - subtrahend
.
-
subtract
- Specified by:
subtract
in interfaceScalarOperation.Subtraction<MatrixStore<N extends Comparable<N>>,
N extends Comparable<N>> - Returns:
this - scalarSubtrahend
.
-
superimpose
- Specified by:
superimpose
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
superimpose
- Specified by:
superimpose
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
supplyTo
- Specified by:
supplyTo
in interfaceAccess2D.Collectable<N extends Comparable<N>,
TransformableRegion<N extends Comparable<N>>>
-
symmetric
Description copied from interface:Structure2D.Logical
Defines a symmetricStructure2D
(matrix) by mirroring one half (diagonally) on the other.- Specified by:
symmetric
in 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:Matrix2D
Extracts one element of this matrix as a Scalar.- Specified by:
toScalar
in 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:
transpose
in interfaceElementsSupplier<N extends Comparable<N>>
- Specified by:
transpose
in interfaceMatrix2D<N extends Comparable<N>,
MatrixStore<N extends Comparable<N>>> - Specified by:
transpose
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>> - Returns:
- A transposed matrix instance.
-
triangular
- Specified by:
triangular
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
tridiagonal
- Specified by:
tridiagonal
in interfaceStructure2D.Logical<Access2D<N extends Comparable<N>>,
MatrixStore<N extends Comparable<N>>>
-
visitOne
- Specified by:
visitOne
in interfaceAccess2D.Visitable<N extends Comparable<N>>
-
MatrixStore
now implementsinvalid reference