- java.lang.Object
-
- org.ojalgo.matrix.decomposition.AbstractDecomposition<java.lang.Double,R064Store>
-
- org.ojalgo.matrix.decomposition.RawDecomposition
-
- All Implemented Interfaces:
MatrixDecomposition<java.lang.Double>,Structure1D,Structure2D
- Direct Known Subclasses:
RawCholesky,RawEigenvalue,RawLU,RawQR,RawSingularValue
abstract class RawDecomposition extends AbstractDecomposition<java.lang.Double,R064Store>
In many ways similar to InPlaceDecomposition but this class is hardwired to work with double[][] data. Most of it's originates from JAMA, but have been significantly refactored or even (re)written from scratch.
-
-
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.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 intmyColDimprivate double[][]myInternalDataprivate RawStoremyInternalStoreprivate intmyRowDim-
Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL
-
-
Constructor Summary
Constructors Constructor Description RawDecomposition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckSymmetry()intgetColDim()protected double[][]getInternalData()protected RawStoregetInternalStore()intgetRowDim()(package private) static RawStoremake(int nbRows, int nbCols)(package private) RawStorenewRawStore(int m, int n)(package private) double[][]reset(Structure2D template, boolean transpose)(package private) RawStorewrap(double[][] data)-
Methods inherited from class org.ojalgo.matrix.decomposition.AbstractDecomposition
aggregator, applyPivotOrder, applyReverseOrder, checkSolvability, collect, computed, function, getDimensionalEpsilon, isAspectRatioNormal, isComputed, isSolvable, makeArray, makeDiagonal, makeEye, makeHouseholder, makeIdentity, makeRotation, makeRotation, makeZero, makeZero, reset, 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.MatrixDecomposition
decompose, reconstruct
-
Methods inherited from interface org.ojalgo.structure.Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getMaxDim, getMinDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
-
-
-
Field Detail
-
myColDim
private int myColDim
-
myInternalData
private double[][] myInternalData
-
myInternalStore
private RawStore myInternalStore
-
myRowDim
private int myRowDim
-
-
Method Detail
-
make
static RawStore make(int nbRows, int nbCols)
-
getColDim
public int getColDim()
- Returns:
- The number of columns
-
getRowDim
public int getRowDim()
- Returns:
- The number of rows
-
checkSymmetry
protected boolean checkSymmetry()
-
getInternalData
protected double[][] getInternalData()
-
getInternalStore
protected RawStore getInternalStore()
-
newRawStore
RawStore newRawStore(int m, int n)
-
reset
double[][] reset(Structure2D template, boolean transpose)
-
wrap
RawStore wrap(double[][] data)
-
-