Searched refs:multiply (Results 51 - 75 of 259) sorted by relevance

1234567891011

/external/crcalc/src/com/hp/creals/
H A DCR.java432 static CR ln2_1 = valueOf(7).multiply(ten_ninths.simple_ln());
434 valueOf(2).multiply(twentyfive_twentyfourths.simple_ln());
435 static CR ln2_3 = valueOf(3).multiply(eightyone_eightyeths.simple_ln());
576 scaled_CR = multiply(new int_CR(scale_factor));
655 CR scaled_res = multiply(scale);
661 scaled_res = scaled_res.multiply(CR.valueOf(big_radix));
798 public CR multiply(CR x) { method in class:CR
858 return square_root.multiply(square_root);
869 public static CR PI = four.multiply(four.multiply(atan_reciproca
[all...]
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
H A DBigIntegerMath.java158 // Iteratively multiply the longs as big as they can go.
184 // Efficiently multiply all the intermediate products together.
199 return nums.get(start).multiply(nums.get(start + 1));
201 return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2));
205 return listProduct(nums, start, m).multiply(listProduct(nums, m, end));
247 .multiply(BigInteger.valueOf(numeratorAccum))
253 // We can definitely multiply into the long accumulators without overflowing them.
260 .multiply(BigInteger.valueOf(numeratorAccum))
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DFieldLUDecompositionImpl.java104 sum = sum.subtract(luRow[i].multiply(lu[i][col]));
115 sum = sum.subtract(luRow[i].multiply(lu[i][col]));
211 determinant = determinant.multiply(lu[i][i]);
286 bp[i] = bp[i].subtract(bpCol.multiply(lu[i][col]));
295 bp[i] = bp[i].subtract(bpCol.multiply(lu[i][col]));
332 bp[i] = bp[i].subtract(bpCol.multiply(lu[i][col]));
341 bp[i] = bp[i].subtract(bpCol.multiply(lu[i][col]));
396 bpI[j] = bpI[j].subtract(bpCol[j].multiply(luICol));
412 bpI[j] = bpI[j].subtract(bpCol[j].multiply(luICol));
H A DBigMatrix.java72 * @param d value to multiply all entries by
85 BigMatrix multiply(BigMatrix m) throws IllegalArgumentException; method in interface:BigMatrix
H A DBigMatrixImpl.java397 * @param d value to multiply all entries by
408 outDataRow[col] = dataRow[col].multiply(d);
421 public BigMatrix multiply(BigMatrix m) throws IllegalArgumentException { method in class:BigMatrixImpl
423 return multiply((BigMatrixImpl) m);
439 sum = sum.add(dataRow[i].multiply(m.getEntry(i, col)));
455 public BigMatrixImpl multiply(BigMatrixImpl m) throws IllegalArgumentException { method in class:BigMatrixImpl
470 sum = sum.add(dataRow[i].multiply(m.data[i][col]));
486 return m.multiply(this);
951 det = det.multiply(lu[i][i]);
1038 sum = sum.add(data[row][i].multiply(
[all...]
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java156 BigInteger nextPow = BigInteger.TEN.multiply(approxPow);
162 nextPow = BigInteger.TEN.multiply(approxPow);
188 BigInteger halfPowerSquared = floorPow.pow(2).multiply(BigInteger.TEN);
341 // Iteratively multiply the longs as big as they can go.
367 // Efficiently multiply all the intermediate products together.
382 return nums.get(start).multiply(nums.get(start + 1));
384 return nums.get(start).multiply(nums.get(start + 1)).multiply(nums.get(start + 2));
388 return listProduct(nums, start, m).multiply(listProduct(nums, m, end));
430 .multiply(BigIntege
[all...]
/external/crcalc/tests/src/com/hp/creals/
H A DCRTest.java90 check_eq(two.multiply(two), four, "multiply failed");
94 check_eq(one.divide(thirteen).multiply(thirteen), one,
110 CR huge = CR.valueOf(million.multiply(million).multiply(thousand));
134 check_eq(sqrt13.multiply(sqrt13), thirteen, "sqrt(13)*sqrt(13) failed");
H A DSlowCRTest.java98 x.sin().multiply(v.cos()).add(x.cos().multiply(v.sin())),
101 checkEq(x.cos().multiply(x.cos()).add(x.sin().multiply(x.sin())),
133 checkEq(x.multiply(CR.valueOf(2)).exp(),
135 x.exp().multiply(x.exp()),
149 x.multiply(v).ln(),
156 checkEq(x.abs().sqrt().multiply(x.abs().sqrt()), x.abs(),
/external/proguard/src/proguard/evaluation/value/
H A DLongValue.java103 public LongValue multiply(LongValue other) method in class:LongValue
106 return other.multiply(this);
260 public LongValue multiply(SpecificLongValue other) method in class:LongValue
416 public LongValue multiply(ParticularLongValue other) method in class:LongValue
418 return multiply((SpecificLongValue)other);
H A DParticularLongValue.java95 public LongValue multiply(LongValue other) method in class:ParticularLongValue
97 return other.multiply(this);
183 public LongValue multiply(ParticularLongValue other) method in class:ParticularLongValue
H A DSpecificLongValue.java75 public LongValue multiply(LongValue other) method in class:SpecificLongValue
77 return other.multiply(this);
167 public LongValue multiply(SpecificLongValue other) method in class:SpecificLongValue
H A DUnknownLongValue.java75 public LongValue multiply(LongValue other) method in class:UnknownLongValue
H A DIntegerValue.java105 public abstract IntegerValue multiply(IntegerValue other) method in class:IntegerValue
288 public IntegerValue multiply(UnknownIntegerValue other) method in class:IntegerValue
290 return multiply((IntegerValue)other);
532 public IntegerValue multiply(SpecificIntegerValue other) method in class:IntegerValue
534 return multiply((IntegerValue)other);
776 public IntegerValue multiply(ParticularIntegerValue other) method in class:IntegerValue
778 return multiply((SpecificIntegerValue)other);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DRSAKeyPairGenerator.java83 n = p.multiply(q);
120 lcm = pSub1.divide(gcd).multiply(qSub1);
171 if (p.multiply(p).compareTo(sqrdBound) < 0)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
H A DSecP521R1FieldElement.java87 public ECFieldElement multiply(ECFieldElement b) method in class:SecP521R1FieldElement
90 SecP521R1Field.multiply(x, ((SecP521R1FieldElement)b).x, z);
96 // return multiply(b.invert());
99 SecP521R1Field.multiply(z, x, z);
/external/cmockery/cmockery_0_1_2/src/example/
H A Dcalculator.c91 static int multiply(int a, int b);
98 {"*", multiply},
110 static int multiply(int a, int b) { function
/external/pdfium/third_party/bigint/
H A DBigInteger.hh115 void multiply(const BigInteger &a, const BigInteger &b);
162 ans.multiply(*this, x);
201 multiply(*this, x);
/external/llvm/unittests/IR/
H A DConstantRangeTest.cpp374 EXPECT_EQ(Full.multiply(Full), Full);
375 EXPECT_EQ(Full.multiply(Empty), Empty);
376 EXPECT_EQ(Full.multiply(One), Full);
377 EXPECT_EQ(Full.multiply(Some), Full);
378 EXPECT_EQ(Full.multiply(Wrap), Full);
379 EXPECT_EQ(Empty.multiply(Empty), Empty);
380 EXPECT_EQ(Empty.multiply(One), Empty);
381 EXPECT_EQ(Empty.multiply(Some), Empty);
382 EXPECT_EQ(Empty.multiply(Wrap), Empty);
383 EXPECT_EQ(One.multiply(On
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DRSABlindedEngine.java108 BigInteger blindedInput = r.modPow(e, m).multiply(input).mod(m);
112 result = blindedResult.multiply(rInv).mod(m);
/external/guava/guava-tests/benchmark/com/google/common/math/
H A DBigIntegerMathBenchmark.java63 return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n));
86 return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
H A DECDHBasicAgreement.java67 ECPoint P = pubPoint.multiply(key.getD()).normalize();
/external/swiftshader/third_party/LLVM/unittests/Support/
H A DConstantRangeTest.cpp311 EXPECT_EQ(Full.multiply(Full), Full);
312 EXPECT_EQ(Full.multiply(Empty), Empty);
313 EXPECT_EQ(Full.multiply(One), Full);
314 EXPECT_EQ(Full.multiply(Some), Full);
315 EXPECT_EQ(Full.multiply(Wrap), Full);
316 EXPECT_EQ(Empty.multiply(Empty), Empty);
317 EXPECT_EQ(Empty.multiply(One), Empty);
318 EXPECT_EQ(Empty.multiply(Some), Empty);
319 EXPECT_EQ(Empty.multiply(Wrap), Empty);
320 EXPECT_EQ(One.multiply(On
[all...]
/external/wycheproof/java/com/google/security/wycheproof/testcases/
H A DDhTest.java227 u = u.multiply(u).add(BigInteger.ONE).mod(n);
232 v = v.multiply(v).add(BigInteger.ONE).mod(n);
237 prod = prod.multiply(v.subtract(u).abs()).mod(n);
245 result = result.multiply(f);
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
H A DFraction.java503 .multiply(BigInteger.valueOf(fraction.denominator/d1));
505 .multiply(BigInteger.valueOf(denominator/d1));
527 * @param fraction the fraction to multiply by, must not be <code>null</code>
533 public Fraction multiply(Fraction fraction) { method in class:Fraction
551 * @param i the <tt>integer</tt> to multiply by.
554 public Fraction multiply(final int i) { method in class:Fraction
577 return multiply(fraction.reciprocal());
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DDebugTreeGrammar.g366 | ^('*' a=expr b=expr) { $value = $a.value.multiply($b.value); }

Completed in 927 milliseconds

1234567891011