/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | SparseFieldVector.java | 148 res.setEntry(key, entries.get(key).add(value)); in add() 150 res.setEntry(key, value); in add() 163 res.setEntry(i, v[i].add(getEntry(i))); in add() 178 res.setEntry(iter.key() + virtualSize, iter.value()); in append() 195 res.setEntry(virtualSize, d); in append() 203 res.setEntry(i + virtualSize, a[i]); in append() 249 res.setEntry(iter.key(), iter.value().divide(v.getEntry(iter.key()))); in ebeDivide() 261 res.setEntry(iter.key(), iter.value().divide(v[iter.key()])); in ebeDivide() 273 res.setEntry(iter.key(), iter.value().multiply(v.getEntry(iter.key()))); in ebeMultiply() 285 res.setEntry(iter.key(), iter.value().multiply(v[iter.key()])); in ebeMultiply() [all …]
|
D | TriDiagonalTransformer.java | 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() 127 cachedQt.setEntry(j, k, beta * hK[k]); in getQT() 134 cachedQt.setEntry(0, 0, 1); in getQT() 154 cachedT.setEntry(i, i, main[i]); in getT() 156 cachedT.setEntry(i, i - 1, secondary[i - 1]); in getT() 159 cachedT.setEntry(i, i + 1, secondary[i]); in getT()
|
D | OpenMapRealVector.java | 238 res.setEntry(key, randomAccess.get(key) + iter.value()); in add() 240 res.setEntry(key, iter.value()); in add() 256 res.setEntry(iter.key() + virtualSize, iter.value()); in append() 272 res.setEntry(virtualSize, d); in append() 280 res.setEntry(i + virtualSize, a[i]); in append() 331 res.setEntry(iter.key(), iter.value() / v.getEntry(iter.key())); 344 res.setEntry(iter.key(), iter.value() / v[iter.key()]); 356 res.setEntry(iter.key(), iter.value() * v.getEntry(iter.key())); 369 res.setEntry(iter.key(), iter.value() * v[iter.key()]); 385 res.setEntry(key - index, iter.value()); [all …]
|
D | AbstractRealMatrix.java | 88 out.setEntry(row, col, getEntry(row, col) + m.getEntry(row, col)); in add() 107 out.setEntry(row, col, getEntry(row, col) - m.getEntry(row, col)); in subtract() 123 out.setEntry(row, col, getEntry(row, col) + d); in scalarAdd() 139 out.setEntry(row, col, getEntry(row, col) * d); in scalarMultiply() 164 out.setEntry(row, col, sum); in multiply() 271 subMatrix.setEntry(i - startRow, j - startColumn, getEntry(i, j)); 401 setEntry(row + i, column + j, subMatrix[i][j]); 417 out.setEntry(0, i, getEntry(row, i)); 437 setEntry(row, i, matrix.getEntry(0, i)); 450 out.setEntry(i, 0, getEntry(i, column)); [all …]
|
D | BiDiagonalTransformer.java | 101 cachedU.setEntry(k, k, 1); in getU() 107 cachedU.setEntry(k, k, 1); in getU() 123 cachedU.setEntry(0, 0, 1); in getU() 145 cachedB.setEntry(i, i, main[i]); in getB() 148 cachedB.setEntry(i, i - 1, secondary[i - 1]); in getB() 152 cachedB.setEntry(i, i + 1, secondary[i]); in getB() 182 cachedV.setEntry(k, k, 1); in getV() 188 cachedV.setEntry(k, k, 1); in getV() 204 cachedV.setEntry(0, 0, 1); in getV()
|
D | AbstractFieldMatrix.java | 180 out.setEntry(row, col, getEntry(row, col).add(m.getEntry(row, col))); in add() 199 out.setEntry(row, col, getEntry(row, col).subtract(m.getEntry(row, col))); in subtract() 215 out.setEntry(row, col, getEntry(row, col).add(d)); in scalarAdd() 231 out.setEntry(row, col, getEntry(row, col).multiply(d)); in scalarMultiply() 256 out.setEntry(row, col, sum); in multiply() 297 subMatrix.setEntry(i - startRow, j - startColumn, getEntry(i, j)); in getSubMatrix() 427 setEntry(row + i, column + j, subMatrix[i][j]); in setSubMatrix() 441 out.setEntry(0, i, getEntry(row, i)); in getRowMatrix() 461 setEntry(row, i, matrix.getEntry(0, i)); in setRowMatrix() 474 out.setEntry(i, 0, getEntry(i, column)); in getColumnMatrix() [all …]
|
D | QRDecompositionImpl.java | 160 cachedR.setEntry(row, row, rDiag[row]); in getR() 162 cachedR.setEntry(row, col, qrt[col][row]); in getR() 197 cachedQT.setEntry(minor, minor, 1.0); in getQT() 202 cachedQT.setEntry(minor, minor, 1.0); in getQT() 235 cachedH.setEntry(i, j, qrt[j][i] / -rDiag[j]); in getH()
|
D | MatrixUtils.java | 145 m.setEntry(i, i, 1.0); in createRealIdentityMatrix() 205 m.setEntry(i, i, diagonal[i]); in createRealDiagonalMatrix() 224 m.setEntry(i, i, diagonal[i]); in createFieldDiagonalMatrix() 337 m.setEntry(0, i, rowData[i]); in createRowRealMatrix() 360 m.setEntry(0, i, rowData[i]); in createRowFieldMatrix() 436 m.setEntry(i, 0, columnData[i]); in createColumnRealMatrix() 459 m.setEntry(i, 0, columnData[i]); in createColumnFieldMatrix()
|
D | FieldLUDecompositionImpl.java | 163 cachedL.setEntry(i, j, luI[j]); in getL() 165 cachedL.setEntry(i, i, field.getOne()); in getL() 179 cachedU.setEntry(i, j, luI[j]); in getU() 192 cachedP.setEntry(i, pivot[i], field.getOne()); in getP() 427 identity.setEntry(i, i, one); in getInverse()
|
D | LUDecompositionImpl.java | 172 cachedL.setEntry(i, j, luI[j]); in getL() 174 cachedL.setEntry(i, i, 1.0); in getL() 188 cachedU.setEntry(i, j, luI[j]); in getU() 201 cachedP.setEntry(i, pivot[i], 1.0); in getP()
|
D | OpenMapRealMatrix.java | 113 out.setEntry(row, col, getEntry(row, col) + iterator.value()); in add() 148 out.setEntry(row, col, getEntry(row, col) - iterator.value()); in subtract() 240 public void setEntry(int row, int column, double value) in setEntry() method in OpenMapRealMatrix
|
D | SparseFieldMatrix.java | 97 setEntry(i, j, other.getEntry(i, j)); in SparseFieldMatrix() 169 public void setEntry(int row, int column, T value) in setEntry() method in SparseFieldMatrix
|
D | AbstractRealVector.java | 90 setEntry(i + index, v[i]); in setSubVector() 116 result.setEntry(index, e.getValue() + result.getEntry(index)); in add() 144 v.setEntry(index, e.getValue() - result.getEntry(index)); in subtract() 736 product.setEntry(thisE.getIndex(), otherE.getIndex(), in outerProduct() 857 setEntry(getIndex(), newValue); in setValue()
|
D | FieldVector.java | 281 void setEntry(int index, T value) in setEntry() method
|
D | RealMatrix.java | 395 void setEntry(int row, int column, double value) throws MatrixIndexException; in setEntry() method
|
D | ArrayFieldVector.java | 621 out.setEntry(i, j, data[i].multiply(v.getEntry(j))); in outerProduct() 647 out.setEntry(i, j, data[i].multiply(v[j])); in outerProduct() 707 public void setEntry(int index, T value) { in setEntry() method in ArrayFieldVector
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/ |
D | SimplexTableau.java | 163 matrix.setEntry(0, 0, -1); in createTableau() 166 matrix.setEntry(zIndex, zIndex, maximize ? 1 : -1); in createTableau() 170 matrix.setEntry(zIndex, width - 1, in createTableau() 174 matrix.setEntry(zIndex, getSlackVariableOffset() - 1, in createTableau() 190 matrix.setEntry(row, getSlackVariableOffset() - 1, in createTableau() 195 matrix.setEntry(row, width - 1, constraint.getValue()); in createTableau() 199 matrix.setEntry(row, getSlackVariableOffset() + slackVar++, 1); // slack in createTableau() 201 matrix.setEntry(row, getSlackVariableOffset() + slackVar++, -1); // excess in createTableau() 207 matrix.setEntry(0, getArtificialVariableOffset() + artificialVar, 1); in createTableau() 208 matrix.setEntry(row, getArtificialVariableOffset() + artificialVar++, 1); in createTableau() [all …]
|
/external/llvm/lib/CodeGen/ |
D | InterferenceCache.h | 176 void setEntry(Entry *E) { in setEntry() function 190 ~Cursor() { setEntry(nullptr); } in ~Cursor() 193 setEntry(O.CacheEntry); in Cursor() 197 setEntry(O.CacheEntry); 205 setEntry(nullptr); in setPhysReg() 207 setEntry(Cache.get(PhysReg)); in setPhysReg()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/ |
D | PearsonsCorrelation.java | 196 outMatrix.setEntry(i, j, corr); in computeCorrelationMatrix() 197 outMatrix.setEntry(j, i, corr); in computeCorrelationMatrix() 199 outMatrix.setEntry(i, i, 1d); in computeCorrelationMatrix() 259 outMatrix.setEntry(i, i, 1d); in covarianceToCorrelation() 263 outMatrix.setEntry(i, j, entry); in covarianceToCorrelation() 264 outMatrix.setEntry(j, i, entry); in covarianceToCorrelation()
|
D | Covariance.java | 167 outMatrix.setEntry(i, j, cov); in computeCovarianceMatrix() 168 outMatrix.setEntry(j, i, cov); in computeCovarianceMatrix() 170 outMatrix.setEntry(i, i, variance.evaluate(matrix.getColumn(i))); in computeCovarianceMatrix()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore_Impl1Test.java | 341 kss[i].setEntry("aaa", entry, null); in testKeyStore11() 383 kss[i].setEntry(null, entry, null); in testEntry01() 388 kss[i].setEntry("ZZZ", null, null); in testEntry01() 393 kss[i].setEntry(aliases[j], entry, null); in testEntry01() 477 kss[i].setEntry(aliases[j], pKey, pPath); in testEntry02() 535 kss[i].setEntry("ZZZ", pKey, pPath); in testEntry02() 590 kss[i].setEntry(aliases[j], sKey, pPath); in testEntry03() 621 kss[i].setEntry("ZZZ", aEntry, pPath); in testEntry03() 850 kss[i].setEntry(aliases[0], tCert, null); in testEntry06() 851 kss[i].setEntry(aliases[1], pKey, pp); in testEntry06() [all …]
|
D | KeyStore_Impl3Test.java | 125 kss[i].setEntry(aliases[0], tCert, null); in testLoadStore01() 126 kss[i].setEntry(aliases[1], pKey, pPath); in testLoadStore01() 127 kss[i].setEntry(aliases[2], pKey, pPath); in testLoadStore01()
|
D | KeyStore_Impl2Test.java | 115 keyS.setEntry(alias, null, null); in checkResult() 122 keyS.setEntry(alias, entry, null); in checkResult() 255 keyS.setEntry(alias, entry, pp); in checkKeyStoreException()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
D | VectorialCovariance.java | 94 result.setEntry(i, j, e); in getResult() 95 result.setEntry(j, i, e); in getResult()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/ |
D | GaussNewtonEstimator.java | 196 wGradGradT.setEntry(k, l, weight * gk * grad[l]); in estimate()
|