Searched defs:pow (Results 1 - 25 of 39) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
H A DGCMExponentiator.java6 void exponentiateX(long pow, byte[] output); argument
H A DTables1kGCMExponentiator.java25 public void exponentiateX(long pow, byte[] output) argument
29 while (pow > 0)
31 if ((pow & 1L) != 0)
37 pow >>>= 1;
/external/eigen/Eigen/src/Core/
H A DGlobalFunctions.h55 pow(const Eigen::ArrayBase<Derived>& x, const typename Derived::Scalar& exponent) { function in namespace:Eigen
56 return x.derived().pow(exponent);
61 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<Derived>& exponents) function in namespace:Eigen
H A DMathFunctions.h373 * Implementation of pow *
382 using std::pow;
383 return pow(x, y);
623 inline EIGEN_MATHFUNC_RETVAL(pow, Scalar) pow(const Scalar& x, const Scalar& y) function in namespace:Eigen::numext
625 return EIGEN_MATHFUNC_IMPL(pow, Scalar)::run(x, y);
/external/eigen/Eigen/src/plugins/
H A DArrayCwiseUnaryOps.h34 * \sa pow(), log(), sin(), cos()
60 * \sa pow(), square()
143 pow(const Scalar& exponent) const function
181 * \sa square(), pow()
/external/guava/guava-tests/benchmark/com/google/common/math/
H A DIntMathBenchmark.java55 @Benchmark int pow(int reps) { method in class:IntMathBenchmark
59 tmp += IntMath.pow(positive[j], exponent[j]);
H A DLongMathBenchmark.java58 @Benchmark int pow(int reps) { method in class:LongMathBenchmark
62 tmp += LongMath.pow(positive[j], exponents[j]);
/external/svox/pico/lib/
H A Dpicokpdf.c131 static picoos_uint8 convScaleFactorToBig(picoos_uint8 pow, picoos_uint8 bigpow) argument
133 if (pow > 0x0F) {
134 pow = bigpow + (0xFF - pow + 1); /* take 2's complement of negative pow */
135 } else if (bigpow >= pow) {
136 pow = bigpow - pow;
138 /* error: bigpow is smaller than input pow */
141 return pow;
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpMath.java27 /** Name for traps triggered by pow. */
28 private static final String POW_TRAP = "pow";
211 public static Dfp pow(Dfp base, int a) method in class:DfpMath
259 * We use pow() to compute e<sup>n</sup> and a Taylor series to compute
337 x = x.divide(pow(a.newInstance(10000), lr)); /* This puts x in the range 0-10000 */
348 spy[0] = pow(a.getTwo(), p2); // use spy[0] temporarily as a divisor
505 public static Dfp pow(Dfp x, final Dfp y) { method in class:DfpMath
646 r = r.multiply(pow(two, b.intValue()));
/external/eigen/Eigen/src/Eigen2Support/
H A DCwiseOperators.h121 Cwise<ExpressionType>::pow(const Scalar& exponent) const function in class:Eigen::Cwise
/external/guava/guava/src/com/google/common/math/
H A DIntMath.java181 * {@code BigInteger.valueOf(b).pow(k).intValue()}. This implementation runs in {@code O(log k)}
189 public static int pow(int b, int k) { method in class:IntMath
445 * <p>{@link #pow} may be faster, but does not check for overflow.
H A DLongMath.java225 * {@code BigInteger.valueOf(b).pow(k).longValue()}. This implementation runs in {@code O(log k)}
231 public static long pow(long b, int k) { method in class:LongMath
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
H A DComplex.java679 public Complex pow(Complex x) { method in class:Complex
963 final double nthRootOfAbs = FastMath.pow(abs(), 1.0 / n);
/external/clang/test/CodeGenCXX/
H A Dtemp-order.cpp5 static unsigned pow(unsigned Base, unsigned Power) { function
30 TT.Product *= pow(P, ++TT.Index);
154 #define ORDER2(a, b) (pow(a, 1) * pow(b, 2))
155 #define ORDER3(a, b, c) (ORDER2(a, b) * pow(c, 3))
156 #define ORDER4(a, b, c, d) (ORDER3(a, b, c) * pow(d, 4))
157 #define ORDER5(a, b, c, d, e) (ORDER4(a, b, c, d) * pow(e, 5))
158 #define ORDER6(a, b, c, d, e, f) (ORDER5(a, b, c, d, e) * pow(f, 6))
/external/lzma/CPP/7zip/UI/Console/
H A DBenchCon.cpp207 int pow = (dictionary < ((UInt32)1 << kStartDicLog)) ? kBenchMinDicLogSize : kStartDicLog; local
208 while (((UInt32)1 << pow) > dictionary)
209 pow--;
210 for (; ((UInt32)1 << pow) <= dictionary; pow++)
212 fprintf(f, "%2d:", pow);
213 callback.dictionarySize = (UInt32)1 << pow;
270 for (int pow = 10; pow < 32; pow
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
H A DBigFraction.java940 public BigFraction pow(final int exponent) { method in class:BigFraction
942 return new BigFraction(denominator.pow(-exponent), numerator.pow(-exponent));
944 return new BigFraction(numerator.pow(exponent), denominator.pow(exponent));
957 public BigFraction pow(final long exponent) { method in class:BigFraction
959 return new BigFraction(MathUtils.pow(denominator, -exponent),
960 MathUtils.pow(numerator, -exponent));
962 return new BigFraction(MathUtils.pow(numerator, exponent),
963 MathUtils.pow(denominato
976 public BigFraction pow(final BigInteger exponent) { method in class:BigFraction
996 public double pow(final double exponent) { method in class:BigFraction
[all...]
/external/eigen/unsupported/Eigen/src/AutoDiff/
H A DAutoDiffScalar.h49 * - std::abs, std::sqrt, std::pow, std::exp, std::log, std::sin, std::cos,
50 * - internal::abs, internal::sqrt, numext::pow, internal::exp, internal::log, internal::sin, internal::cos,
581 pow(const Eigen::AutoDiffScalar<DerType>& x, typename Eigen::internal::traits<DerType>::Scalar y) function in namespace:Eigen
586 std::pow(x.value(),y),
587 x.derivatives() * (y * std::pow(x.value(),y-1)));
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixPower.h24 MatrixPowerRetval(MatrixPower<MatrixType>& pow, RealScalar p) : m_pow(pow), m_p(p) argument
84 res(0,0) = std::pow(m_A(0,0), m_p);
111 using std::pow;
113 res.coeffRef(0,0) = pow(m_A.coeff(0,0), p);
116 res.coeffRef(i,i) = pow(m_A.coeff(i,i), p);
118 res.coeffRef(i-1,i) = p * pow(m_A.coeff(i,i), p-1);
267 * calling MatrixBase::pow().
361 res(0,0) = std::pow(m_A.coeff(0,0), p);
388 if (res>RealScalar(0.5) && res>(1-res)*std::pow(m_conditionNumbe
503 const MatrixPowerReturnValue<Derived> MatrixBase<Derived>::pow(const RealScalar& p) const function in class:Eigen::MatrixBase
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java1522 float factor = (float)FastMath.pow(10.0f, scale) * sign;
1775 public static int pow(final int k, int e) method in class:MathUtils
1805 public static int pow(final int k, long e) method in class:MathUtils
1835 public static long pow(final long k, int e) method in class:MathUtils
1865 public static long pow(final long k, long e) method in class:MathUtils
1895 public static BigInteger pow(final BigInteger k, int e) method in class:MathUtils
1904 return k.pow(e);
1915 public static BigInteger pow(final BigInteger k, long e) method in class:MathUtils
1945 public static BigInteger pow(final BigInteger k, BigInteger e) method in class:MathUtils
H A DFastMath.java806 pow() function, use them. */
1533 public static double pow(double x, double y) { method in class:FastMath
1637 return pow(-x, y);
1642 return ((long)y & 1) == 0 ? pow(-x, y) : -pow(-x, y);
/external/ceres-solver/include/ceres/
H A Djet.h392 inline double pow (double x, double y) { return std::pow(x, y); } function in namespace:ceres
568 // pow -- base is a differentiable function, exponent is a constant.
571 Jet<T, N> pow(const Jet<T, N>& f, double g) { function in namespace:ceres
572 T const tmp = g * pow(f.a, g - T(1.0));
573 return Jet<T, N>(pow(f.a, g), tmp * f.v);
576 // pow -- base is a constant, exponent is a differentiable function.
579 Jet<T, N> pow(double f, const Jet<T, N>& g) { function in namespace:ceres
580 T const tmp = pow(f, g.a);
585 // pow
588 Jet<T, N> pow(const Jet<T, N>& f, const Jet<T, N>& g) { function in namespace:ceres
[all...]
/external/icu/icu4c/source/i18n/
H A Dnfsubs.cpp1326 int32_t pow = 0; local
1329 ++pow;
/external/clang/lib/Headers/
H A Dtgmath.h469 // pow
477 __tg_pow(double __x, double __y) {return pow(__x, __y);}
496 #undef pow macro
497 #define pow(__x, __y) __tg_pow(__tg_promote2((__x), (__y))(__x), \ macro
/external/fio/
H A Dparse.c191 unsigned int i, pow = 0, mult = kb_base; local
208 pow = 5;
211 pow = 4;
214 pow = 3;
217 pow = 2;
220 pow = 1;
223 pow = 5;
225 pow = 4;
227 pow = 3;
229 pow
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
H A DBigDecimal.java99 /* 1999.07.17 improve messages from pow method */
1719 * The same as {@link #pow(BigDecimal, MathContext)}, where the <code>BigDecimal</code> is <code>rhs</code>, and the
1735 public com.ibm.icu.math.BigDecimal pow(com.ibm.icu.math.BigDecimal rhs) { method in class:BigDecimal
1736 return this.pow(rhs, plainMC);
1762 public com.ibm.icu.math.BigDecimal pow(com.ibm.icu.math.BigDecimal rhs, com.ibm.icu.math.MathContext set) { method in class:BigDecimal
2409 // intcheck (from pow) relies on this to check decimal part
2553 * <code> this.multiply(TEN.pow(new BigDecimal(-n))) </code>
2577 * <code> this.multiply(TEN.pow(new BigDecimal(n))) </code>
2903 * <code> (new BigDecimal(lint)).divide(TEN.pow(new BigDecimal(scale))) </code>
3083 // [currently only used by pow]
[all...]

Completed in 1299 milliseconds

12