Package org.ojalgo.matrix.decomposition
Class GenericDecomposition<N extends Comparable<N>>
java.lang.Object
org.ojalgo.matrix.decomposition.AbstractDecomposition<N>
org.ojalgo.matrix.decomposition.GenericDecomposition<N>
- All Implemented Interfaces:
MatrixDecomposition<N>
,Structure1D
,Structure2D
- Direct Known Subclasses:
EigenvalueDecomposition
,InPlaceDecomposition
,SingularValueDecomposition
AbstractDecomposition
-
Nested Class Summary
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.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.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
FieldsModifier and TypeFieldDescriptionprivate final PhysicalStore.Factory
<N, ? extends DecompositionStore<N>> Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GenericDecomposition
(PhysicalStore.Factory<N, ? extends DecompositionStore<N>> factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected final AggregatorSet
<N> protected final DecompositionStore
<N> allocate
(long numberOfRows, long numberOfColumns) protected final MatrixStore
<N> collect
(Access2D.Collectable<N, ? super DecompositionStore<N>> source) protected final DecompositionStore
<N> protected final FunctionSet
<N> function()
protected final BasicArray
<N> makeArray
(int length) protected final <D extends Access1D<?>>
DiagonalStore.Builder<N, D> makeDiagonal
(D mainDiag) protected final DecompositionStore
<N> makeEye
(int numberOfRows, int numberOfColumns) protected final Householder
<N> makeHouseholder
(int dimension) protected final MatrixStore
<N> makeIdentity
(int dimension) makeRotation
(int low, int high, double cos, double sin) makeRotation
(int low, int high, N cos, N sin) protected final DecompositionStore
<N> makeZero
(int numberOfRows, int numberOfColumns) protected final DecompositionStore
<N> makeZero
(Structure2D shape) protected final Scalar.Factory
<N> scalar()
protected final MatrixStore
<N> Methods inherited from class org.ojalgo.matrix.decomposition.AbstractDecomposition
checkSolvability, computed, countColumns, countRows, getDimensionalEpsilon, isAspectRatioNormal, isComputed, isSolvable, reset
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.MatrixDecomposition
decompose, reconstruct
Methods inherited from interface org.ojalgo.structure.Structure2D
count, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
Field Details
-
myFactory
private final PhysicalStore.Factory<N extends Comparable<N>,? extends DecompositionStore<N extends Comparable<N>>> myFactory
-
-
Constructor Details
-
GenericDecomposition
-
-
Method Details
-
aggregator
-
allocate
- Specified by:
allocate
in classAbstractDecomposition<N extends Comparable<N>>
-
collect
protected final MatrixStore<N> collect(Access2D.Collectable<N, ? super DecompositionStore<N>> source) -
copy
-
function
- Specified by:
function
in classAbstractDecomposition<N extends Comparable<N>>
-
makeArray
-
makeDiagonal
-
makeEye
-
makeHouseholder
-
makeIdentity
-
makeRotation
-
makeRotation
-
makeZero
-
makeZero
-
scalar
- Specified by:
scalar
in classAbstractDecomposition<N extends Comparable<N>>
-
wrap
-