Package org.ojalgo.matrix.decomposition
Class GenericDecomposition<N extends java.lang.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
abstract class GenericDecomposition<N extends java.lang.Comparable<N>> extends AbstractDecomposition<N>
AbstractDecomposition
-
-
Nested Class Summary
-
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.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 PhysicalStore.Factory<N,? extends DecompositionStore<N>>
myFactory
-
Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GenericDecomposition(PhysicalStore.Factory<N,? extends DecompositionStore<N>> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AggregatorSet<N>
aggregator()
protected DecompositionStore<N>
allocate(long numberOfRows, long numberOfColumns)
protected MatrixStore<N>
collect(Access2D.Collectable<N,? super DecompositionStore<N>> source)
protected DecompositionStore<N>
copy(Access2D<?> source)
protected FunctionSet<N>
function()
protected BasicArray<N>
makeArray(int length)
protected <D extends Access1D<?>>
DiagonalStore.Builder<N,D>makeDiagonal(D mainDiag)
protected DecompositionStore<N>
makeEye(int numberOfRows, int numberOfColumns)
protected Householder<N>
makeHouseholder(int dimension)
protected MatrixStore<N>
makeIdentity(int dimension)
protected Rotation<N>
makeRotation(int low, int high, double cos, double sin)
protected Rotation<N>
makeRotation(int low, int high, N cos, N sin)
protected DecompositionStore<N>
makeZero(int numberOfRows, int numberOfColumns)
protected DecompositionStore<N>
makeZero(Structure2D shape)
protected Scalar.Factory<N>
scalar()
protected MatrixStore<N>
wrap(Access2D<?> source)
-
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 Detail
-
myFactory
private final PhysicalStore.Factory<N extends java.lang.Comparable<N>,? extends DecompositionStore<N extends java.lang.Comparable<N>>> myFactory
-
-
Constructor Detail
-
GenericDecomposition
protected GenericDecomposition(PhysicalStore.Factory<N,? extends DecompositionStore<N>> factory)
-
-
Method Detail
-
aggregator
protected final AggregatorSet<N> aggregator()
-
allocate
protected final DecompositionStore<N> allocate(long numberOfRows, long numberOfColumns)
- Specified by:
allocate
in classAbstractDecomposition<N extends java.lang.Comparable<N>>
-
collect
protected final MatrixStore<N> collect(Access2D.Collectable<N,? super DecompositionStore<N>> source)
-
copy
protected final DecompositionStore<N> copy(Access2D<?> source)
-
function
protected final FunctionSet<N> function()
- Specified by:
function
in classAbstractDecomposition<N extends java.lang.Comparable<N>>
-
makeArray
protected final BasicArray<N> makeArray(int length)
-
makeDiagonal
protected final <D extends Access1D<?>> DiagonalStore.Builder<N,D> makeDiagonal(D mainDiag)
-
makeEye
protected final DecompositionStore<N> makeEye(int numberOfRows, int numberOfColumns)
-
makeHouseholder
protected final Householder<N> makeHouseholder(int dimension)
-
makeIdentity
protected final MatrixStore<N> makeIdentity(int dimension)
-
makeZero
protected final DecompositionStore<N> makeZero(int numberOfRows, int numberOfColumns)
-
makeZero
protected final DecompositionStore<N> makeZero(Structure2D shape)
-
scalar
protected final Scalar.Factory<N> scalar()
- Specified by:
scalar
in classAbstractDecomposition<N extends java.lang.Comparable<N>>
-
wrap
protected final MatrixStore<N> wrap(Access2D<?> source)
-
-