Package org.ojalgo.matrix.decomposition
Interface Tridiagonal<N extends java.lang.Comparable<N>>
-
- All Superinterfaces:
MatrixDecomposition<N>
,Structure1D
,Structure2D
- All Known Implementing Classes:
DeferredTridiagonal
,DeferredTridiagonal.C128
,DeferredTridiagonal.H256
,DeferredTridiagonal.Q128
,DeferredTridiagonal.R064
,DeferredTridiagonal.R128
,SimultaneousTridiagonal
,TridiagonalDecomposition
public interface Tridiagonal<N extends java.lang.Comparable<N>> extends MatrixDecomposition<N>
Tridiagonal: [A] = [Q][D][Q]H Any square symmetric (hermitian) matrix [A] can be factorized by similarity transformations into the form, [A]=[Q][D][Q]-1 where [Q] is an orthogonal (unitary) matrix and [D] is a real symmetric tridiagonal matrix. Note that [D] can/should be made real even when [A] has complex elements. Since [Q] is orthogonal (unitary) [Q]-1 = [Q]H and when it is real [Q]H = [Q]T.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Tridiagonal.Factory<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
MatrixDecomposition.Determinant<N extends java.lang.Comparable<N>>, MatrixDecomposition.EconomySize<N extends java.lang.Comparable<N>>, MatrixDecomposition.Hermitian<N extends java.lang.Comparable<N>>, MatrixDecomposition.Ordered<N extends java.lang.Comparable<N>>, MatrixDecomposition.Pivoting<N extends java.lang.Comparable<N>>, MatrixDecomposition.RankRevealing<N extends java.lang.Comparable<N>>, MatrixDecomposition.Solver<N extends java.lang.Comparable<N>>, MatrixDecomposition.Values<N extends java.lang.Comparable<N>>
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description static Tridiagonal.Factory<ComplexNumber>
C128
static Tridiagonal.Factory<Quaternion>
H256
static Tridiagonal.Factory<RationalNumber>
Q128
static Tridiagonal.Factory<java.lang.Double>
R064
static Tridiagonal.Factory<Quadruple>
R128
-
Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <N extends java.lang.Comparable<N>>
booleanequals(MatrixStore<N> matrix, Tridiagonal<N> decomposition, NumberContext context)
MatrixStore<N>
getD()
MatrixStore<N>
getQ()
default MatrixStore<N>
reconstruct()
-
Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
decompose, isComputed, reset
-
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
-
-
-
-
Field Detail
-
C128
static final Tridiagonal.Factory<ComplexNumber> C128
-
R064
static final Tridiagonal.Factory<java.lang.Double> R064
-
R128
static final Tridiagonal.Factory<Quadruple> R128
-
H256
static final Tridiagonal.Factory<Quaternion> H256
-
Q128
static final Tridiagonal.Factory<RationalNumber> Q128
-
-
Method Detail
-
equals
static <N extends java.lang.Comparable<N>> boolean equals(MatrixStore<N> matrix, Tridiagonal<N> decomposition, NumberContext context)
-
getD
MatrixStore<N> getD()
-
getQ
MatrixStore<N> getQ()
-
reconstruct
default MatrixStore<N> reconstruct()
- Specified by:
reconstruct
in interfaceMatrixDecomposition<N extends java.lang.Comparable<N>>
-
-