Module ojalgo
Package org.ojalgo.matrix.decomposition
Interface Eigenvalue.Spectral<N extends Comparable<N>>
- All Superinterfaces:
DeterminantTask<N>,Eigenvalue<N>,InverterTask<N>,InvertibleFactor<N>,MatrixDecomposition<N>,MatrixDecomposition.Determinant<N>,MatrixDecomposition.EconomySize<N>,MatrixDecomposition.Hermitian<N>,MatrixDecomposition.Ordered<N>,MatrixDecomposition.RankRevealing<N>,MatrixDecomposition.Solver<N>,MatrixDecomposition.Values<N>,MatrixTask<N>,Provider2D,Provider2D.Condition,Provider2D.Determinant<N>,Provider2D.Eigenpairs,Provider2D.Inverse<Optional<MatrixStore<N>>>,Provider2D.Rank,Provider2D.Solution<Optional<MatrixStore<N>>>,SingularValue<N>,SolverTask<N>,Structure1D,Structure2D
- All Known Implementing Classes:
HermitianEvD,HermitianEvD.C128,HermitianEvD.H256,HermitianEvD.Q128,HermitianEvD.R064,HermitianEvD.R128,RawEigenvalue.Symmetric
- Enclosing interface:
Eigenvalue<N extends Comparable<N>>
public static interface Eigenvalue.Spectral<N extends Comparable<N>>
extends Eigenvalue<N>, SingularValue<N>
“Spectral decomposition” refers specifically to the orthogonal/unitary eigen-decomposition of a normal
matrix (most commonly Hermitian / symmetric).
Eigenvalue decomposition of a normal matrix = spectral decomposition.
If, in addition to the matrix being normal, all eigenvalues are real and nonnegative, then the matrix is positive semidefinite, and the decomposition coincides with the SVD. If some eigenvalues are negative, the decomposition is still valid, and can be tweaked to yield a valid SVD by taking absolute values of the eigenvalues and adjusting the signs of the corresponding eigenvectors (on one side).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.Eigenvalue
Eigenvalue.Eigenpair, Eigenvalue.Factory<N extends Comparable<N>>, Eigenvalue.Generalisation, Eigenvalue.Generalised<N extends Comparable<N>>, Eigenvalue.Spectral<N extends Comparable<N>>Nested classes/interfaces inherited from interface org.ojalgo.matrix.transformation.InvertibleFactor
InvertibleFactor.IdentityFactor<N extends Comparable<N>>Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
MatrixDecomposition.Determinant<N extends Comparable<N>>, MatrixDecomposition.EconomySize<N extends Comparable<N>>, MatrixDecomposition.Hermitian<N extends Comparable<N>>, MatrixDecomposition.Ordered<N extends Comparable<N>>, MatrixDecomposition.Pivoting<N extends Comparable<N>>, MatrixDecomposition.RankRevealing<N extends Comparable<N>>, MatrixDecomposition.Solver<N extends Comparable<N>>, MatrixDecomposition.Updatable<N extends Comparable<N>>, MatrixDecomposition.Values<N extends Comparable<N>>Nested classes/interfaces inherited from interface org.ojalgo.matrix.Provider2D
Provider2D.Condition, Provider2D.Determinant<N extends Comparable<N>>, Provider2D.Eigenpairs, Provider2D.Hermitian, Provider2D.Inverse<M>, Provider2D.Rank, Provider2D.Solution<M>, Provider2D.Symmetric, Provider2D.Trace<N extends Comparable<N>>Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.SingularValue
SingularValue.Factory<N extends Comparable<N>>Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallbackNested 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 inherited from interface org.ojalgo.matrix.decomposition.Eigenvalue
C128, DESCENDING_NORM, H256, Q128, R064, R128Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSPD()A symmetric (Hermitian) matrix is positive definite if all its eigenvalues are positive.default MatrixStore<N> Methods inherited from interface org.ojalgo.matrix.task.DeterminantTask
calculateDeterminantMethods inherited from interface org.ojalgo.matrix.decomposition.Eigenvalue
getD, getEigenpair, getEigenpairs, getEigenvalues, getEigenvalues, getEigenvectors, getTrace, getV, isHermitian, isOrderedMethods inherited from interface org.ojalgo.matrix.task.InverterTask
invert, invert, preallocateMethods inherited from interface org.ojalgo.matrix.transformation.InvertibleFactor
btranMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
decompose, isComputed, resetMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition.Determinant
getDeterminant, toDeterminantProviderMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition.EconomySize
isFullSizeMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition.Hermitian
checkAndDecomposeMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition.RankRevealing
countSignificant, getRank, getRankThreshold, isFullRankMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition.Solver
compute, getInverse, getInverse, getSolution, getSolution, invert, isSolvable, preallocate, solve, toInverseProvider, toSolutionProviderMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition.Values
computeValuesOnlyMethods inherited from interface org.ojalgo.matrix.decomposition.SingularValue
ftran, getCondition, getCovariance, getD, getFrobeniusNorm, getKyFanNorm, getOperatorNorm, getS, getSingularValues, getSingularValues, getTraceNorm, getU, getV, reconstructMethods inherited from interface org.ojalgo.matrix.task.SolverTask
preallocate, preallocate, solve, solveMethods 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
-
isSPD
boolean isSPD()A symmetric (Hermitian) matrix is positive definite if all its eigenvalues are positive. -
reconstruct
- Specified by:
reconstructin interfaceEigenvalue<N extends Comparable<N>>- Specified by:
reconstructin interfaceMatrixDecomposition<N extends Comparable<N>>- Specified by:
reconstructin interfaceSingularValue<N extends Comparable<N>>
-