Module ojalgo
Package org.ojalgo.matrix.decomposition
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 org.ojalgo.matrix.decomposition.Hessenberg
Hessenberg.Factory<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.Factory<D extends MatrixDecomposition<?>>, 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.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
FieldsFields inherited from interface org.ojalgo.matrix.decomposition.Hessenberg
C128, H256, Q128, R064, R128Fields inherited from interface org.ojalgo.matrix.decomposition.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 org.ojalgo.matrix.decomposition.InPlaceDecomposition
getColDim, getInPlace, getInverse, getInverse, getRowDim, setInPlaceMethods 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, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ojalgo.matrix.decomposition.Hessenberg
reconstructMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
isComputedMethods 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 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
-