Home
last modified time | relevance | path

Searched refs:getCoefficient (Results 1 – 25 of 102) sorted by relevance

12345

/dports/math/py-or-tools/or-tools-9.2/examples/tests/
H A DLinearExprTest.java43 assertEquals(12, expr.getCoefficient(0));
58 assertThat(expr.getCoefficient(0)).isEqualTo(-12);
74 assertThat(expr.getCoefficient(0)).isEqualTo(12);
89 assertThat(expr.getCoefficient(0)).isEqualTo(-12);
106 assertThat(expr.getCoefficient(0)).isEqualTo(1);
108 assertThat(expr.getCoefficient(1)).isEqualTo(1);
125 assertThat(expr.getCoefficient(0)).isEqualTo(3);
127 assertThat(expr.getCoefficient(1)).isEqualTo(5);
143 assertThat(expr.getCoefficient(0)).isEqualTo(1);
145 assertThat(expr.getCoefficient(1)).isEqualTo(-1);
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/teuchos/numerics/test/Polynomial/
H A DPolynomial_UnitTest.cpp73 TEST_EQUALITY_CONST( *(P.getCoefficient(d)), d*1.0 ); in TEUCHOS_UNIT_TEST()
85 TEST_EQUALITY_CONST( *(P.getCoefficient(d)), d*1.0 ); in TEUCHOS_UNIT_TEST()
96 constCoeff = P.getCoefficient(8); in TEUCHOS_UNIT_TEST()
100 coeff = P.getCoefficient(4); in TEUCHOS_UNIT_TEST()
137 TEST_THROW( constCoeff = constP.getCoefficient(3), std::out_of_range ); in TEUCHOS_UNIT_TEST()
143 TEST_THROW( coeff = P.getCoefficient(3), std::out_of_range ); in TEUCHOS_UNIT_TEST()
/dports/finance/prestashop/prestashop/vendor/prestashop/decimal/src/Operation/
H A DMagnitudeChange.php48 $number->getSign() . $number->getCoefficient(),
54 $targetLength = strlen($number->getCoefficient()) + $resultingExponent;
57 $number->getSign() . str_pad($number->getCoefficient(), $targetLength, '0')
H A DMultiplication.php78 ltrim($a->getCoefficient(), '0'),
79 ltrim($b->getCoefficient(), '0')
H A DDivision.php131 $dividend = $a->getCoefficient();
132 $divisor = new DecimalNumber($b->getCoefficient());
H A DAddition.php148 $coeff1 = $a->getCoefficient();
149 $coeff2 = $b->getCoefficient();
H A DSubtraction.php142 $coeff1 = $a->getCoefficient();
143 $coeff2 = $b->getCoefficient();
/dports/math/py-or-tools/or-tools-9.2/ortools/java/com/google/ortools/sat/
H A DDifference.java41 public long getCoefficient(int index) { in getCoefficient() method in Difference
43 return left.getCoefficient(index); in getCoefficient()
45 return -right.getCoefficient(index - left.numElements()); in getCoefficient()
H A DSum.java46 public long getCoefficient(int index) {
48 return left.getCoefficient(index);
50 return right.getCoefficient(index - left.numElements());
/dports/finance/prestashop/prestashop/vendor/prestashop/decimal/src/
H A DDecimalNumber.php74 $number = $decimalNumber->getSign() . $decimalNumber->getCoefficient();
173 public function getCoefficient() function in PrestaShop\\Decimal\\DecimalNumber
361 return '0' == $this->getCoefficient();
483 && $this->coefficient === $number->getCoefficient()
498 return new static($sign . $this->getCoefficient(), $this->getExponent());
554 $coefficient = $this->getCoefficient();
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/pqc/math/linearalgebra/
H A DPolynomialRingGF2m.java115 if (tmpMatrix[i].getCoefficient(i) == 0) in computeSquareRootMatrix()
121 if (tmpMatrix[j].getCoefficient(i) != 0) in computeSquareRootMatrix()
142 int coef = tmpMatrix[i].getCoefficient(i); in computeSquareRootMatrix()
152 coef = tmpMatrix[j].getCoefficient(i); in computeSquareRootMatrix()
/dports/math/cvc4/CVC4-1.7/src/theory/arith/
H A Dlinear_equality.cpp48 out << ", " << d_entry->getCoefficient(); in output()
117 int a_ijSgn = entry.getCoefficient().sgn(); in includeBoundUpdate()
214 const Rational& a_ji = entry.getCoefficient(); in updateUntracked()
254 const Rational& a_ji = entry.getCoefficient(); in updateTracked()
297 const Rational& a_ij = entry_ij.getCoefficient(); in pivotAndUpdate()
491 int sgn = entry.getCoefficient().sgn(); in rowLacksBound()
572 const Rational& a_ij = entry.getCoefficient(); in propagateRow()
916 int coeffSgn = u.getCoefficient().sgn(); in basicsAtBounds()
1025 const Rational& coeff = entry.getCoefficient(); in accumulateBorder()
1095 int coeffSgn = entry.getCoefficient().sgn(); in willBeInConflictAfterPivot()
[all …]
H A Dmatrix.h136 const T& getCoefficient() const { in getCoefficient() function
140 T& getCoefficient(){ in getCoefficient() function
479 Assert(newEntry.getCoefficient() != 0); in addEntry()
620 T& coeff = entry.getCoefficient(); in multiplyRowByConstant()
669 T& coeff = entry.getCoefficient(); in rowPlusBufferTimesConstant()
670 coeff += mult * other.getCoefficient(); in rowPlusBufferTimesConstant()
689 T newCoeff = mult * entry.getCoefficient(); in rowPlusBufferTimesConstant()
729 T& coeff = entry.getCoefficient(); in rowPlusBufferTimesConstant()
731 coeff += mult * other.getCoefficient(); in rowPlusBufferTimesConstant()
884 T& t = e.getCoefficient(); in manipulateRowEntry()
[all …]
H A Dtableau.cpp50 Rational coeff = entry.getCoefficient(); in pivot()
81 const Rational& a_rs = newBasicEntry.getCoefficient(); in rowPivot()
89 entry.getCoefficient() *= negInverseA_rs; in rowPivot()
174 complexity += e.getCoefficient().complexity(); in rowComplexity()
H A Ddio_solver.cpp363 Constant coeff = d_trail[current].d_eq.getPolynomial().getCoefficient(vl); in impliedGcdOfOne()
377 Constant iqc = d_trail[inQueue].d_eq.getPolynomial().getCoefficient(vl); in impliedGcdOfOne()
520 Constant a = vsum.getCoefficient(VarList(var)); in purifyIndex()
523 Assert(sj.getPolynomial().getCoefficient(VarList(var)).isOne()); in purifyIndex()
525 Assert(newSi.getPolynomial().getCoefficient(VarList(var)).isZero()); in purifyIndex()
595 Constant a = vsum.getCoefficient(VarList(var)); in debugSubstitutionApplies()
636 Assert(d_trail[ci].d_eq.getPolynomial().getCoefficient(vl) == Constant::mkConstant(-1)); in solveIndex()
674 Assert(q.getPolynomial().getCoefficient(vl) == Constant::mkConstant(1)); in decomposeIndex()
693 Assert(d_trail[ci].d_eq.getPolynomial().getCoefficient(vl) == Constant::mkConstant(-1)); in decomposeIndex()
715 Constant a = vsum.getCoefficient(VarList(var)); in applySubstitution()
[all …]
H A Dfc_simplex.cpp314 int sgn = e.getCoefficient().sgn(); in selectPrimalUpdate()
325 << " " << e.getCoefficient() in selectPrimalUpdate()
342 candidates.push_back(Cand(curr, penalty(curr), curr_movement, &e.getCoefficient())); in selectPrimalUpdate()
456 int oppositeSgn = - (e_evar_nb.getCoefficient().sgn()); in focusUsingSignDisagreements()
466 int sgn = entry.getCoefficient().sgn(); in focusUsingSignDisagreements()
471 << entry.getCoefficient() << endl; in focusUsingSignDisagreements()
826 d_focusCoefficients.set(curr, &e.getCoefficient()); in loadFocusSigns()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/oox/
H A Dunitconverter.cxx156 …return (eFromUnit == eToUnit) ? fValue : (fValue * getCoefficient( eFromUnit ) / getCoefficient( e… in scaleValue()
161 return static_cast< sal_Int32 >( fValue * getCoefficient( eUnit ) + 0.5 ); in scaleToMm100()
166 return static_cast< double >( nMm100 ) / getCoefficient( eUnit ); in scaleFromMm100()
234 double UnitConverter::getCoefficient( Unit eUnit ) const in getCoefficient() function in oox::xls::UnitConverter
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/oox/
H A Dunitconverter.cxx156 …return (eFromUnit == eToUnit) ? fValue : (fValue * getCoefficient( eFromUnit ) / getCoefficient( e… in scaleValue()
161 return static_cast< sal_Int32 >( fValue * getCoefficient( eUnit ) + 0.5 ); in scaleToMm100()
166 return static_cast< double >( nMm100 ) / getCoefficient( eUnit ); in scaleFromMm100()
234 double UnitConverter::getCoefficient( Unit eUnit ) const in getCoefficient() function in oox::xls::UnitConverter
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/teuchos/numerics/src/
H A DTeuchos_PolynomialDecl.hpp109 getCoefficient(unsigned int i);
113 getCoefficient(unsigned int i) const;
H A DTeuchos_Polynomial.hpp99 Teuchos::Polynomial<CoeffT>::getCoefficient(unsigned int i) in getCoefficient() function in Teuchos::Polynomial
113 Teuchos::Polynomial<CoeffT>::getCoefficient(unsigned int i) const in getCoefficient() function in Teuchos::Polynomial
/dports/science/code_saturne/code_saturne-7.1.0/bin/model/
H A DHeadLossesModel.py154 def getCoefficient(self, zoneid, k): member in HeadLossesModel
177 kxx = self.getCoefficient(zoneid, 'kxx')
178 kyy = self.getCoefficient(zoneid, 'kyy')
179 kzz = self.getCoefficient(zoneid, 'kzz')
383 assert mdl.getCoefficient('2', 'kyy') == 555.,\
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Examples/
H A DmilpOsi2.c52 if (fabs(mat->getCoefficient(i,j)) > eps ){ in main()
67 if (fabs(mat->getCoefficient(j,i)) > eps ){ in main()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/wechat_qrcode/src/zxing/common/reedsolomon/
H A Dreed_solomon_decoder.cpp98 int denominatorLeadingTerm = rLast->getCoefficient(rLast->getDegree()); in runEuclideanAlgorithm()
103 int scale = field->multiply(r->getCoefficient(r->getDegree()), dltInverse); in runEuclideanAlgorithm()
121 int sigmaTildeAtZero = t->getCoefficient(0); in runEuclideanAlgorithm()
143 result[0] = errorLocator->getCoefficient(1); in findErrorLocations()
H A Dgenericgfpoly.cpp56 int GenericGFPoly::getCoefficient(int degree) { in getCoefficient() function in GenericGFPoly
63 return getCoefficient(0); in evaluateAt()
209 int denominatorLeadingTerm = other->getCoefficient(other->getDegree()); in divide()
215 int scale = field_.multiply(remainder->getCoefficient(remainder->getDegree()), in divide()
/dports/cad/gmsh/gmsh-4.9.2-source/Geo/
H A DChain.h215 C getCoefficient(const ElemChain &c2) const;
219 C getCoefficient(MElement *e, int subElement = -1) const;
267 template <class C> C Chain<C>::getCoefficient(const ElemChain &c2) const in getCoefficient() function
276 template <class C> C Chain<C>::getCoefficient(MElement *e, int subElement) const in getCoefficient() function
280 return this->getCoefficient(ec); in getCoefficient()
304 return this->getCoefficient(ec); in getCoefficient()
313 incidence += it->second * c2.getCoefficient(it->first); in incidence()

12345