HomeSort by relevance Sort by last modified time
    Searched defs:pow (Results 1 - 25 of 42) sorted by null

1 2

  /external/eigen/Eigen/src/Core/
GlobalFunctions.h 55 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
MathFunctions.h 373 * 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/
ArrayCwiseUnaryOps.h 34 * \sa pow(), log(), sin(), cos()
60 * \sa pow(), square()
143 pow(const Scalar& exponent) const function
181 * \sa square(), pow()
  /external/chromium_org/third_party/polymer/components-chromium/paper-ripple/
paper-ripple-extracted.js 20 var size = waveRadius * (1 - Math.pow(80, -tt));
108 var pow = Math.pow; variable
126 return Math.sqrt(pow(p1.x - p2.x, 2) + pow(p1.y - p2.y, 2));
raw-extracted.js 28 var ssize = waveRadius * (1 - Math.pow(80, -tt));
354 var pow = Math.pow; variable
359 return pow(1 - t, 3) * p0 +
360 3 * pow(1 - t, 2) * t * p1 +
361 (1 - t) * pow(t, 2) * p2 +
362 pow(t, 3) * p3;
381 return Math.sqrt(Math.pow(p1.x - p2.x, 2) + Math.pow(p1.y - p2.y, 2));
  /external/eigen/Eigen/src/Eigen2Support/
CwiseOperators.h 121 Cwise<ExpressionType>::pow(const Scalar& exponent) const function in class:Eigen::Cwise
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorCtsHelper.java 84 squaredDiffs.add(Math.pow(difference, 2));
  /external/clang/test/CodeGenCXX/
temp-order.cpp 5 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/guava/guava/src/com/google/common/math/
IntMath.java 159 * {@code BigInteger.valueOf(b).pow(k).intValue()}. This implementation runs in {@code O(log k)}
167 public static int pow(int b, int k) { method in class:IntMath
386 * <p>{@link #pow} may be faster, but does not check for overflow.
LongMath.java 197 * {@code BigInteger.valueOf(b).pow(k).longValue()}. This implementation runs in {@code O(log k)}
202 public static long pow(long b, int k) { method in class:LongMath
  /external/chromium_org/third_party/skia/experimental/Intersection/
CubicParameterizationCode.cpp 235 int pow = 1; local
242 pow = exp - '0';
245 c.n[x - 'a'] = pow;
  /external/chromium_org/third_party/tlslite/tests/
tlstest.py 400 assert server.pow(2,4) == 16
406 assert server.pow(2,4) == 16
411 assert server.pow(2,4) == 16
772 def pow(self, x, y): return pow(x, y) member in class:serverTestCmd.MyFuncs
  /external/eigen/unsupported/Eigen/src/AutoDiff/
AutoDiffScalar.h 49 * - 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/lzma/CPP/7zip/UI/Console/
BenchCon.cpp 207 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/ceres-solver/include/ceres/
jet.h 392 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 -- both base and exponent are differentiable functions
588 Jet<T, N> pow(const Jet<T, N>& f, const Jet<T, N>& g) { function in namespace:ceres
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
MathExtras.h 168 // Work around a bug in the Microsoft CRT, where pow(NaN, 0) yields NaN instead of 1.
169 inline double wtf_pow(double x, double y) { return y == 0 ? 1 : pow(x, y); }
173 #define pow(x, y) wtf_pow(x, y) macro
  /external/chromium_org/third_party/icu/source/i18n/
nfsubs.cpp 1326 int32_t pow = 0; local
    [all...]
  /external/eigen/unsupported/Eigen/src/MatrixFunctions/
MatrixPower.h 24 MatrixPowerRetval(MatrixPower<MatrixType>& pow, RealScalar p) : m_pow(pow), m_p(p)
84 res(0,0) = std::pow(m_A(0,0), m_p);
111 using std::pow;
114 res.coeffRef(0,0) = pow(m_A.coeff(0,0), p);
117 res.coeffRef(i,i) = pow(m_A.coeff(i,i), p);
119 res.coeffRef(i-1,i) = p * pow(m_A.coeff(i,i), p-1);
268 * calling MatrixBase::pow().
362 res(0,0) = std::pow(m_A.coeff(0,0), p);
389 if (res>RealScalar(0.5) && res>(1-res)*std::pow(m_conditionNumber, res))
504 const MatrixPowerReturnValue<Derived> MatrixBase<Derived>::pow(const RealScalar& p) const function in class:Eigen::MatrixBase
    [all...]
  /external/icu/icu4c/source/i18n/
nfsubs.cpp 1326 int32_t pow = 0; local
    [all...]
  /external/fio/
parse.c 187 unsigned int i, pow = 0, mult = kb_base; local
204 pow = 5;
207 pow = 4;
210 pow = 3;
213 pow = 2;
216 pow = 1;
219 pow = 5;
221 pow = 4;
223 pow = 3;
225 pow = 2
    [all...]
  /external/guava/guava-tests/test/com/google/common/math/
LongMathTest.java 64 assertEquals(BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR),
68 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.HALF_POWERS_OF_10.length + 1), FLOOR);
212 // Relies on the correctness of log10(long, FLOOR) and of pow(long, int).
216 boolean expectSuccess = LongMath.pow(10, floor) == x;
273 assertEquals(LongMath.pow(i, exp), valueOf(i)
274 .pow(exp)
467 BigInteger expectedResult = valueOf(b).pow(exp);
  /external/clang/lib/Headers/
tgmath.h 469 // 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/eigen/unsupported/test/mpreal/
mpreal.h 324 friend const mpreal pow (const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
325 friend const mpreal pow (const mpreal& a, const mpz_t b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
326 friend const mpreal pow (const mpreal& a, const unsigned long int b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
327 friend const mpreal pow (const mpreal& a, const long int b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
328 friend const mpreal pow (const unsigned long int a, const mpreal& b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
329 friend const mpreal pow (const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
2526 inline const mpreal pow(const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2533 inline const mpreal pow(const mpreal& a, const mpz_t b, mp_rnd_t rnd_mode) function in namespace:mpfr
2540 inline const mpreal pow(const mpreal& a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2547 inline const mpreal pow(const mpreal& a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2552 inline const mpreal pow(const mpreal& a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2559 inline const mpreal pow(const mpreal& a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2564 inline const mpreal pow(const mpreal& a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2569 inline const mpreal pow(const mpreal& a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2574 inline const mpreal pow(const unsigned long int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2581 inline const mpreal pow(const unsigned int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2586 inline const mpreal pow(const long int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2592 inline const mpreal pow(const int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2598 inline const mpreal pow(const long double a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2603 inline const mpreal pow(const double a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2609 inline const mpreal pow(const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2616 inline const mpreal pow(const unsigned long int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2621 inline const mpreal pow(const unsigned long int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2627 inline const mpreal pow(const unsigned long int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2633 inline const mpreal pow(const unsigned long int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2638 inline const mpreal pow(const unsigned long int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2644 inline const mpreal pow(const unsigned int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2649 inline const mpreal pow(const unsigned int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2654 inline const mpreal pow(const unsigned int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2660 inline const mpreal pow(const unsigned int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2666 inline const mpreal pow(const unsigned int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2671 inline const mpreal pow(const unsigned int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2677 inline const mpreal pow(const long int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2683 inline const mpreal pow(const long int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2689 inline const mpreal pow(const long int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2700 inline const mpreal pow(const long int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2711 inline const mpreal pow(const long int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2717 inline const mpreal pow(const long int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2724 inline const mpreal pow(const int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2730 inline const mpreal pow(const int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2736 inline const mpreal pow(const int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2747 inline const mpreal pow(const int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2758 inline const mpreal pow(const int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2764 inline const mpreal pow(const int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2771 inline const mpreal pow(const long double a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2776 inline const mpreal pow(const long double a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2781 inline const mpreal pow(const long double a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2786 inline const mpreal pow(const long double a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2791 inline const mpreal pow(const long double a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2796 inline const mpreal pow(const double a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2801 inline const mpreal pow(const double a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2806 inline const mpreal pow(const double a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2811 inline const mpreal pow(const double a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2816 inline const mpreal pow(const double a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
CoreMathVerifier.java 102 static native float pow(float x, float y); method in class:CoreMathVerifier
468 pow(inX.mid32(), inY.mid32()),
469 pow(inX.min32(), inY.min32()),
470 pow(inX.min32(), inY.max32()),
471 pow(inX.max32(), inY.min32()),
472 pow(inX.max32(), inY.max32()));
490 value = Math.copySign(pow(Math.abs(inV), 1.f / inN),
493 value = pow(inV, 1.f / inN);
    [all...]
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
crypto.js 156 BI_FV = Math.pow(2,BI_FP);
719 var a = Math.pow(b,cs);
734 var d = Math.pow(b,cs), mi = false, j = 0, w = 0;
750 this.dMultiply(Math.pow(b,j));
    [all...]

Completed in 618 milliseconds

1 2