Class DenseHessenberg<N extends 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 Comparable<N>>
extends InPlaceDecomposition<N>
implements Hessenberg<N>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class(package private) static final class(package private) static final class(package private) static final class(package private) static final classNested classes/interfaces inherited from interface Hessenberg
Hessenberg.Factory<N>Nested classes/interfaces inherited from interface MatrixDecomposition
MatrixDecomposition.Determinant<N>, MatrixDecomposition.EconomySize<N>, MatrixDecomposition.Factory<D>, MatrixDecomposition.Hermitian<N>, MatrixDecomposition.Ordered<N>, MatrixDecomposition.Pivoting<N>, MatrixDecomposition.RankRevealing<N>, MatrixDecomposition.Solver<N>, MatrixDecomposition.Updatable<N>, MatrixDecomposition.Values<N>Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallbackNested classes/interfaces inherited from interface Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S,B>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R>, Structure2D.Reshapable, Structure2D.RowColumnKey<R, C>, Structure2D.RowColumnMapper<R, C> -
Field Summary
FieldsFields inherited from interface MatrixDecomposition
TYPICAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDenseHessenberg(PhysicalStore.Factory<N, ? extends DecompositionStore<N>> aFactory) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancompute(Access2D.Collectable<N, ? super PhysicalStore<N>> matrix, boolean upper) final booleandecompose(Access2D.Collectable<N, ? super TransformableRegion<N>> matrix) (package private) final DecompositionStore<N> doQ(DecompositionStore<N> aStoreToTransform) final MatrixStore<N> getH()final MatrixStore<N> getQ()booleanisUpper()private final DecompositionStore<N> makeQ(DecompositionStore<N> storeToTransform, boolean upper, boolean eye) voidreset()Delete computed results, and resets attributes to default valuesMethods inherited from class InPlaceDecomposition
getColDim, getInPlace, getInverse, getInverse, getRowDim, setInPlaceMethods inherited from class AbstractDecomposition
aggregator, applyPivotOrder, applyReverseOrder, checkSolvability, collect, computed, copyColumn, copyRow, function, getDimensionalEpsilon, isAspectRatioNormal, isComputed, isSolvable, makeArray, makeDiagonal, makeEye, makeHouseholder, makeIdentity, makeRotation, makeRotation, makeZero, makeZero, scalar, wrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Hessenberg
reconstructMethods inherited from interface MatrixDecomposition
isComputedMethods inherited from interface Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
Field Details
-
myQ
-
myUpper
private boolean myUpper
-
-
Constructor Details
-
DenseHessenberg
-
-
Method Details
-
compute
public final boolean compute(Access2D.Collectable<N, ? super PhysicalStore<N>> matrix, boolean upper) - Specified by:
computein interfaceHessenberg<N extends Comparable<N>>
-
decompose
- Specified by:
decomposein interfaceMatrixDecomposition<N extends Comparable<N>>- Parameters:
matrix- A matrix to decompose- Returns:
- true if decomposition suceeded; false if not
-
getH
- Specified by:
getHin interfaceHessenberg<N extends Comparable<N>>
-
getQ
- Specified by:
getQin interfaceHessenberg<N extends Comparable<N>>
-
isUpper
public boolean isUpper()- Specified by:
isUpperin interfaceHessenberg<N extends 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 Comparable<N>>- Overrides:
resetin classAbstractDecomposition<N extends Comparable<N>, DecompositionStore<N extends Comparable<N>>>
-
makeQ
private final DecompositionStore<N> makeQ(DecompositionStore<N> storeToTransform, boolean upper, boolean eye) -
doQ
-