Searched refs:cachedQt (Results 1 – 1 of 1) sorted by relevance
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | TriDiagonalTransformer.java | 55 private RealMatrix cachedQt; field in TriDiagonalTransformer 78 cachedQt = null; in TriDiagonalTransformer() 105 if (cachedQt == null) { in getQT() 108 cachedQt = MatrixUtils.createRealMatrix(m, m); in getQT() 114 cachedQt.setEntry(k, k, 1); in getQT() 117 cachedQt.setEntry(k, k, 1 + beta * hK[k]); in getQT() 119 cachedQt.setEntry(k, i, beta * hK[i]); in getQT() 124 beta += cachedQt.getEntry(j, i) * hK[i]; in getQT() 127 cachedQt.setEntry(j, k, beta * hK[k]); in getQT() 129 cachedQt.addToEntry(j, i, beta * hK[i]); in getQT() [all …]
|