Home
last modified time | relevance | path

Searched refs:pivotCol (Results 1 – 3 of 3) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
DSimplexSolver.java127 Integer pivotCol = getPivotColumn(tableau); in doIteration() local
128 Integer pivotRow = getPivotRow(tableau, pivotCol); in doIteration()
134 double pivotVal = tableau.getEntry(pivotRow, pivotCol); in doIteration()
140 double multiplier = tableau.getEntry(i, pivotCol); in doIteration()
/external/llvm-project/mlir/lib/Analysis/Presburger/
DSimplex.cpp222 void Simplex::pivot(unsigned pivotRow, unsigned pivotCol) { in pivot() argument
223 assert(pivotCol >= 2 && "Refusing to pivot invalid column"); in pivot()
225 swapRowWithCol(pivotRow, pivotCol); in pivot()
226 std::swap(tableau(pivotRow, 0), tableau(pivotRow, pivotCol)); in pivot()
232 tableau(pivotRow, pivotCol) = -tableau(pivotRow, pivotCol); in pivot()
235 if (col == pivotCol) in pivot()
245 if (tableau(row, pivotCol) == 0) // Nothing to do. in pivot()
249 if (j == pivotCol) in pivot()
253 tableau(row, pivotCol) * tableau(pivotRow, j); in pivot()
255 tableau(row, pivotCol) *= tableau(pivotRow, pivotCol); in pivot()
/external/llvm-project/mlir/lib/Analysis/
DAffineStructures.cpp829 unsigned pivotCol, unsigned elimColStart, in eliminateFromConstraint() argument
837 int64_t leadCoeff = at(rowIdx, pivotCol); in eliminateFromConstraint()
841 int64_t pivotCoeff = constraints->atEq(pivotRow, pivotCol); in eliminateFromConstraint()
850 if (j >= elimColStart && j < pivotCol) in eliminateFromConstraint()
1124 unsigned pivotCol = 0; in gaussianEliminateIds() local
1125 for (pivotCol = posStart; pivotCol < posLimit; ++pivotCol) { in gaussianEliminateIds()
1128 if (!findConstraintWithNonZeroAt(*this, pivotCol, /*isEq=*/true, in gaussianEliminateIds()
1131 if (!findConstraintWithNonZeroAt(*this, pivotCol, /*isEq=*/false, in gaussianEliminateIds()
1142 eliminateFromConstraint(this, i, pivotRow, pivotCol, posStart, in gaussianEliminateIds()
1149 eliminateFromConstraint(this, i, pivotRow, pivotCol, posStart, in gaussianEliminateIds()
[all …]