public interface SymmetricPositiveMatrix extends SymmetricMatrix
Modifier and Type | Method and Description |
---|---|
SymmetricPositiveMatrix |
add(SymmetricPositiveMatrix m)
Adds a
SymmetricPositiveMatrix to this matrix. |
SymmetricPositiveMatrix |
copy()
Returns a (deep) copy of this.
|
SymmetricPositiveMatrix |
getInverse()
Get the inverse of the decomposed matrix.
|
SymmetricPositiveMatrix |
getInverse(Decomposition decomposition)
Get the inverse matrix computed with the given decomposition algorithm.
|
SymmetricPositiveMatrix |
positiveScalarAdd(double d)
Adds a positive scalar to each entry of this matrix.
|
SymmetricPositiveMatrix |
positiveScalarMultiply(double d)
Multiplies each entry of this matrix by a positive scalar.
|
SymmetricPositiveMatrix |
power(int p)
Returns the result of multiplying
this with itself p times. |
SymmetricPositiveMatrix |
quadraticMultiplication(RealMatrix m)
Gets the result of the quadratic multiplication M×S×MT, where S is
this matrix and M is the provided matrix.
|
SymmetricPositiveMatrix |
quadraticMultiplication(RealMatrix m,
boolean isTranspose)
Gets the result of the quadratic multiplication M×S×MT, where S is
this matrix and M or MT is the provided matrix.
|
SymmetricPositiveMatrix |
transpose()
Returns the transpose of this matrix.
|
add, permutation, scalarAdd, scalarMultiply, subtract
add, addToEntry, concatenateDiagonally, concatenateHorizontally, concatenateVertically, copySubMatrix, copySubMatrix, createMatrix, equals, getColumn, getColumnMatrix, getColumnVector, getData, getDefaultDecomposition, getEntry, getFrobeniusNorm, getNorm, getRow, getRowMatrix, getRowVector, getSubMatrix, getSubMatrix, getTrace, isAntisymmetric, isDiagonal, isInvertible, isOrthogonal, isSymmetric, isSymmetric, isSymmetric, multiply, multiply, multiply, multiplyEntry, operate, operate, preMultiply, preMultiply, preMultiply, setColumn, setColumnMatrix, setColumnVector, setDefaultDecomposition, setEntry, setRow, setRowMatrix, setRowVector, setSubMatrix, subtract, toString, walkInColumnOrder, walkInColumnOrder, walkInColumnOrder, walkInColumnOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInRowOrder, walkInRowOrder, walkInRowOrder, walkInRowOrder
getColumnDimension, getRowDimension, isSquare
SymmetricPositiveMatrix positiveScalarMultiply(double d)
d
- the scalar by which each entry is multipliedSymmetricPositiveMatrix positiveScalarAdd(double d)
d
- the scalar to add to each entrySymmetricPositiveMatrix add(SymmetricPositiveMatrix m)
SymmetricPositiveMatrix
to this matrix.m
- the matrix to addSymmetricPositiveMatrix copy()
copy
in interface RealMatrix
copy
in interface SymmetricMatrix
SymmetricPositiveMatrix quadraticMultiplication(RealMatrix m)
quadraticMultiplication
in interface SymmetricMatrix
m
- the matrix MSymmetricPositiveMatrix quadraticMultiplication(RealMatrix m, boolean isTranspose)
quadraticMultiplication
in interface SymmetricMatrix
m
- the matrix M or the matrix MTisTranspose
- if true, assume the matrix provided is MT, otherwise assume it is MSymmetricPositiveMatrix transpose()
transpose
in interface RealMatrix
transpose
in interface SymmetricMatrix
SymmetricPositiveMatrix power(int p)
this
with itself p
times. Depending on the underlying storage,
instability for high powers
might occur.power
in interface RealMatrix
power
in interface SymmetricMatrix
p
- raise this
to power p
this^p
SymmetricPositiveMatrix getInverse()
setDefaultDecomposition(Decomposition)
method.getInverse
in interface RealMatrix
getInverse
in interface SymmetricMatrix
SymmetricPositiveMatrix getInverse(Decomposition decomposition)
Warning: If a matrix has already been given to the decomposition, it won't be taken into account, as a
new computation will be run on this
matrix and will erase the old decomposition data.
getInverse
in interface RealMatrix
getInverse
in interface SymmetricMatrix
decomposition
- decomposed matrixCopyright © 2021 CNES. All rights reserved.