Module ojalgo
Package org.ojalgo.matrix.decomposition
Class DenseHessenberg<N extends java.lang.Comparable<N>>
- java.lang.Object
-
- org.ojalgo.matrix.decomposition.AbstractDecomposition<N,DecompositionStore<N>>
-
- org.ojalgo.matrix.decomposition.InPlaceDecomposition<N>
-
- org.ojalgo.matrix.decomposition.DenseHessenberg<N>
-
- All Implemented Interfaces:
Hessenberg<N>,MatrixDecomposition<N>,Structure1D,Structure2D
- Direct Known Subclasses:
DenseHessenberg.C128,DenseHessenberg.H256,DenseHessenberg.Q128,DenseHessenberg.R064,DenseHessenberg.R128
abstract class DenseHessenberg<N extends java.lang.Comparable<N>> extends InPlaceDecomposition<N> implements Hessenberg<N>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classDenseHessenberg.C128(package private) static classDenseHessenberg.H256(package private) static classDenseHessenberg.Q128(package private) static classDenseHessenberg.R064(package private) static classDenseHessenberg.R128-
Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.Hessenberg
Hessenberg.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.Factory<D extends MatrixDecomposition<?>>, 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.Updatable<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 private DecompositionStore<N>myQprivate booleanmyUpper-
Fields inherited from interface org.ojalgo.matrix.decomposition.Hessenberg
C128, H256, Q128, R064, R128
-
Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDenseHessenberg(PhysicalStore.Factory<N,? extends DecompositionStore<N>> aFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompute(Access2D.Collectable<N,? super PhysicalStore<N>> matrix, boolean upper)booleandecompose(Access2D.Collectable<N,? super TransformableRegion<N>> matrix)(package private) DecompositionStore<N>doQ(DecompositionStore<N> aStoreToTransform)MatrixStore<N>getH()MatrixStore<N>getQ()booleanisUpper()private DecompositionStore<N>makeQ(DecompositionStore<N> storeToTransform, boolean upper, boolean eye)voidreset()Delete computed results, and resets attributes to default values-
Methods inherited from class org.ojalgo.matrix.decomposition.InPlaceDecomposition
getColDim, getInPlace, getInverse, getInverse, getRowDim, setInPlace
-
Methods inherited from class org.ojalgo.matrix.decomposition.AbstractDecomposition
aggregator, applyPivotOrder, applyReverseOrder, checkSolvability, collect, computed, copyColumn, copyRow, function, getDimensionalEpsilon, isAspectRatioNormal, isComputed, isSolvable, makeArray, makeDiagonal, makeEye, makeHouseholder, makeIdentity, makeRotation, makeRotation, makeZero, makeZero, scalar, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.matrix.decomposition.Hessenberg
reconstruct
-
Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
isComputed
-
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
-
myQ
private transient DecompositionStore<N extends java.lang.Comparable<N>> myQ
-
myUpper
private boolean myUpper
-
-
Constructor Detail
-
DenseHessenberg
protected DenseHessenberg(PhysicalStore.Factory<N,? extends DecompositionStore<N>> aFactory)
-
-
Method Detail
-
compute
public final boolean compute(Access2D.Collectable<N,? super PhysicalStore<N>> matrix, boolean upper)
- Specified by:
computein interfaceHessenberg<N extends java.lang.Comparable<N>>
-
decompose
public final boolean decompose(Access2D.Collectable<N,? super TransformableRegion<N>> matrix)
- Specified by:
decomposein interfaceMatrixDecomposition<N extends java.lang.Comparable<N>>- Parameters:
matrix- A matrix to decompose- Returns:
- true if decomposition suceeded; false if not
-
getH
public final MatrixStore<N> getH()
- Specified by:
getHin interfaceHessenberg<N extends java.lang.Comparable<N>>
-
getQ
public final MatrixStore<N> getQ()
- Specified by:
getQin interfaceHessenberg<N extends java.lang.Comparable<N>>
-
isUpper
public boolean isUpper()
- Specified by:
isUpperin interfaceHessenberg<N extends java.lang.Comparable<N>>
-
reset
public void reset()
Description copied from interface:MatrixDecompositionDelete computed results, and resets attributes to default values- Specified by:
resetin interfaceMatrixDecomposition<N extends java.lang.Comparable<N>>- Overrides:
resetin classAbstractDecomposition<N extends java.lang.Comparable<N>,DecompositionStore<N extends java.lang.Comparable<N>>>
-
makeQ
private final DecompositionStore<N> makeQ(DecompositionStore<N> storeToTransform, boolean upper, boolean eye)
-
doQ
final DecompositionStore<N> doQ(DecompositionStore<N> aStoreToTransform)
-
-