Home
last modified time | relevance | path

Searched refs:setEntry (Results 1 – 25 of 54) sorted by relevance

123

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DSparseFieldVector.java148 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 …]
DTriDiagonalTransformer.java114 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()
DOpenMapRealVector.java238 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 …]
DAbstractRealMatrix.java88 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 …]
DBiDiagonalTransformer.java101 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()
DAbstractFieldMatrix.java180 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 …]
DQRDecompositionImpl.java160 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()
DMatrixUtils.java145 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()
DFieldLUDecompositionImpl.java163 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()
DLUDecompositionImpl.java172 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()
DOpenMapRealMatrix.java113 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
DSparseFieldMatrix.java97 setEntry(i, j, other.getEntry(i, j)); in SparseFieldMatrix()
169 public void setEntry(int row, int column, T value) in setEntry() method in SparseFieldMatrix
DAbstractRealVector.java90 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()
DFieldVector.java281 void setEntry(int index, T value) in setEntry() method
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
DSimplexTableau.java163 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/swiftshader/third_party/LLVM/lib/CodeGen/
DInterferenceCache.h143 void setEntry(Entry *E) { in setEntry() function
157 ~Cursor() { setEntry(0); } in ~Cursor()
160 setEntry(O.CacheEntry); in Cursor()
164 setEntry(O.CacheEntry);
172 setEntry(0); in setPhysReg()
174 setEntry(Cache.get(PhysReg)); in setPhysReg()
/external/llvm/lib/CodeGen/
DInterferenceCache.h176 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInterferenceCache.h186 void setEntry(Entry *E) { in setEntry() function
202 setEntry(O.CacheEntry); in Cursor()
206 setEntry(O.CacheEntry);
210 ~Cursor() { setEntry(nullptr); } in ~Cursor()
216 setEntry(nullptr); in setPhysReg()
218 setEntry(Cache.get(PhysReg)); in setPhysReg()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
DPearsonsCorrelation.java196 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()
DCovariance.java167 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/opencensus-java/impl/src/main/java/io/opencensus/impl/internal/
DDisruptorEventQueue.java143 event.setEntry(entry); in create()
203 void setEntry(@Nullable Entry entry) { in setEntry() method in DisruptorEventQueue.DisruptorEvent
238 event.setEntry(null); in onEvent()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DVectorialCovariance.java94 result.setEntry(i, j, e); in getResult()
95 result.setEntry(j, i, e); in getResult()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGBuilder.cpp322 TopRegion->setEntry(PreheaderVPBB); in buildPlainCFG()
336 Plan.setEntry(TopRegion); in buildHierarchicalCFG()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanTestBase.h65 Plan->setEntry(TopRegion); in buildPlainCFG()
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DGaussNewtonEstimator.java196 wGradGradT.setEntry(k, l, weight * gk * grad[l]); in estimate()

123