Home
last modified time | relevance | path

Searched refs:cachedU (Results 1 – 4 of 4) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBiDiagonalTransformer.java50 private RealMatrix cachedU; field in BiDiagonalTransformer
70 cachedU = null; in BiDiagonalTransformer()
90 if (cachedU == null) { in getU()
97 cachedU = MatrixUtils.createRealMatrix(m, m); in getU()
101 cachedU.setEntry(k, k, 1); in getU()
107 cachedU.setEntry(k, k, 1); in getU()
112 alpha -= cachedU.getEntry(i, j) * householderVectors[i][k - diagOffset]; in getU()
117cachedU.addToEntry(i, j, -alpha * householderVectors[i][k - diagOffset]); in getU()
123 cachedU.setEntry(0, 0, 1); in getU()
129 return cachedU; in getU()
DSingularValueDecompositionImpl.java53 private RealMatrix cachedU; field in SingularValueDecompositionImpl
82 cachedU = null; in SingularValueDecompositionImpl()
126 cachedU = eigenDecomposition.getV().getSubMatrix(0, m - 1, 0, p - 1); in SingularValueDecompositionImpl()
133 cachedU = eigenDecomposition.getV(); in SingularValueDecompositionImpl()
148 RealVector tmp = cachedU.getColumnVector(i); in SingularValueDecompositionImpl()
151 cachedU.setColumnVector(i, tmp.mapMultiply(-1.0)); in SingularValueDecompositionImpl()
159 return cachedU; in getU()
DLUDecompositionImpl.java57 private RealMatrix cachedU; field in LUDecompositionImpl
90 cachedU = null; in LUDecompositionImpl()
182 if ((cachedU == null) && !singular) { in getU()
184 cachedU = MatrixUtils.createRealMatrix(m, m); in getU()
188 cachedU.setEntry(i, j, luI[j]); in getU()
192 return cachedU; in getU()
DFieldLUDecompositionImpl.java62 private FieldMatrix<T> cachedU; field in FieldLUDecompositionImpl
84 cachedU = null; in FieldLUDecompositionImpl()
173 if ((cachedU == null) && !singular) { in getU()
175 cachedU = new Array2DRowFieldMatrix<T>(field, m, m); in getU()
179 cachedU.setEntry(i, j, luI[j]); in getU()
183 return cachedU; in getU()