Searched defs:sqrt (Results 1 - 25 of 46) sorted by relevance

12

/external/eigen/Eigen/src/plugins/
H A DArrayCwiseUnaryOps.h63 sqrt() const function
/external/guava/guava-tests/benchmark/com/google/common/math/
H A DBigIntegerMathRoundingBenchmark.java72 @Benchmark int sqrt(int reps) { method in class:BigIntegerMathRoundingBenchmark
76 tmp += BigIntegerMath.sqrt(positive[j], mode).intValue();
H A DIntMathRoundingBenchmark.java72 @Benchmark int sqrt(int reps) { method in class:IntMathRoundingBenchmark
76 tmp += IntMath.sqrt(positive[j], mode);
H A DLongMathRoundingBenchmark.java72 @Benchmark int sqrt(int reps) { method in class:LongMathRoundingBenchmark
76 tmp += LongMath.sqrt(positive[j], mode);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowFloatMath.java47 public static float sqrt(float value) { method in class:ShadowFloatMath
48 return (float) Math.sqrt(value);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
H A DSecP192K1FieldElement.java126 * return a sqrt root - the routine verifies that the calculation returns the right value - if
129 public ECFieldElement sqrt() method in class:SecP192K1FieldElement
H A DSecP192R1FieldElement.java127 * return a sqrt root - the routine verifies that the calculation returns the right value - if
130 public ECFieldElement sqrt() method in class:SecP192R1FieldElement
H A DSecP256K1FieldElement.java127 * return a sqrt root - the routine verifies that the calculation returns the right value - if
130 public ECFieldElement sqrt() method in class:SecP256K1FieldElement
H A DSecP256R1FieldElement.java126 * return a sqrt root - the routine verifies that the calculation returns the right value - if
129 public ECFieldElement sqrt() method in class:SecP256R1FieldElement
H A DSecP384R1FieldElement.java126 * return a sqrt root - the routine verifies that the calculation returns the right value - if
129 public ECFieldElement sqrt() method in class:SecP384R1FieldElement
H A DSecP521R1FieldElement.java127 * return a sqrt root - the routine verifies that the calculation returns the right value - if
130 public ECFieldElement sqrt() method in class:SecP521R1FieldElement
H A DSecP224K1FieldElement.java131 * return a sqrt root - the routine verifies that the calculation returns the right value - if
134 public ECFieldElement sqrt() method in class:SecP224K1FieldElement
H A DSecP224R1FieldElement.java127 * return a sqrt root - the routine verifies that the calculation returns the right value - if
130 public ECFieldElement sqrt() method in class:SecP224R1FieldElement
/external/deqp/framework/common/
H A DtcuInterval.cpp133 Interval sqrt (const Interval& x) function in namespace:tcu
135 return applyMonotone(std::sqrt, x);
140 return 1.0 / sqrt(x);
/external/fonttools/Lib/fontTools/misc/
H A DbezierTools.py253 from math import sqrt, acos, cos, pi namespace
257 sqrt=sqrt):
274 rDD = sqrt(DD)
308 theta = acos(R/sqrt(Q*Q*Q))
309 rQ2 = -2.0*sqrt(Q)
318 x = pow(sqrt(R2_Q3)+abs(R), 1/3.0)
/external/fonttools/Tools/fontTools/misc/
H A DbezierTools.py253 from math import sqrt, acos, cos, pi namespace
257 sqrt=sqrt):
274 rDD = sqrt(DD)
308 theta = acos(R/sqrt(Q*Q*Q))
309 rQ2 = -2.0*sqrt(Q)
318 x = pow(sqrt(R2_Q3)+abs(R), 1/3.0)
/external/eigen/Eigen/src/Eigen2Support/
H A DCwiseOperators.h92 /** \deprecated ArrayBase::sqrt() */
95 Cwise<ExpressionType>::sqrt() const function in class:Eigen::Cwise
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java96 * Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5
186 // Since sqrt(10) is irrational, log10(x) - floorLog can never be exactly 0.5
203 * {@code sqrt(x)} is not an integer
207 public static BigInteger sqrt(BigInteger x, RoundingMode mode) { method in class:BigIntegerMath
210 return BigInteger.valueOf(LongMath.sqrt(x.longValue(), mode));
251 * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
252 * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean,
255 * b) this iteration converges to floor(sqrt(x)). In fact, the number of correct digits doubles
260 * definitely >= floor(sqrt(x)), and then continue the iteration until we reach a fixed point.
287 return DoubleMath.roundToBigInteger(Math.sqrt(DoubleUtil
[all...]
H A DIntMath.java104 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5
145 // sqrt(10) is irrational, so log10(x) - logFloor is never exactly 0.5
227 * {@code sqrt(x)} is not an integer
231 public static int sqrt(int x, RoundingMode mode) { method in class:IntMath
267 return (int) Math.sqrt(x);
H A DLongMath.java102 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5
144 // sqrt(10) is irrational, so log10(x)-logFloor is never exactly 0.5
271 * {@code sqrt(x)} is not an integer
275 public static long sqrt(long x, RoundingMode mode) { method in class:LongMath
278 return IntMath.sqrt((int) x, mode);
281 * Let k be the true value of floor(sqrt(x)), so that
287 * Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1))
288 * since Math.sqrt i
[all...]
/external/lldb/tools/lldb-perf/lib/
H A DMemoryGauge.cpp154 sqrt (const MemoryStats& arg) function
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
H A DComplex.java122 return FastMath.abs(imaginary) * FastMath.sqrt(1 + q * q);
128 return FastMath.abs(real) * FastMath.sqrt(1 + q * q);
457 * <code> acos(z) = -i (log(z + i (sqrt(1 - z<sup>2</sup>))))</code></pre></p>
480 * <code> asin(z) = -i (log(sqrt(1 - z<sup>2</sup>) + iz)) </code></pre></p>
760 * Implements the following algorithm to compute <code>sqrt(a + bi)</code>:
761 * <ol><li>Let <code>t = sqrt((|a| + |a + bi|) / 2)</code></li>
778 * sqrt(1 &plusmn; INFINITY i) = INFINITY + NaN i
779 * sqrt(INFINITY + i) = INFINITY + 0i
780 * sqrt(-INFINITY + i) = 0 + INFINITY i
781 * sqrt(INFINIT
788 public Complex sqrt() { method in class:Complex
[all...]
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixSquareRoot.h50 * rest is not touched. See MatrixBase::sqrt() for details on
93 using std::sqrt;
98 sqrtT.coeffRef(i,i) = sqrt(T.coeff(i,i));
271 * MatrixBase::sqrt() for details on how this computation is
284 using std::sqrt;
291 result.coeffRef(i,i) = sqrt(m_A.coeff(i,i));
310 * \sa MatrixSquareRootTriangular, MatrixSquareRootQuasiTriangular, MatrixBase::sqrt()
330 * See MatrixBase::sqrt() for details on how this computation is
412 * MatrixBase::sqrt() and most of the time this is the only way it is
458 const MatrixSquareRootReturnValue<Derived> MatrixBase<Derived>::sqrt() cons function in class:Eigen::MatrixBase
[all...]
/external/jmonkeyengine/engine/src/android/jme3tools/android/
H A DFixed.java330 public static int sqrt(int n) { method in class:Fixed
/external/skia/src/opts/
H A DSkNx_neon.h116 SkNf sqrt() const { function in class:SkNf
175 SkNf sqrt() const { return vsqrtq_f64(fVec); } function in class:SkNf
293 SkNf sqrt() const { function in class:SkNf

Completed in 625 milliseconds

12