HomeSort by relevance Sort by last modified time
    Searched defs:cosine (Results 1 - 7 of 7) sorted by null

  /external/aac/libFDK/include/
FDK_trigFcts.h 144 static inline FIXP_DBL fixp_sin_cos_residual_inline(FIXP_DBL x, int scale, FIXP_DBL *sine, FIXP_DBL *cosine)
163 /* Cosine sign symmetry */
181 /* Cosine/Sine simetry for angles greater than PI/4 */
195 *cosine = (FIXP_DBL)((cl * csign) << (DFRACT_BITS-FRACT_BITS));
198 *cosine = (FIXP_DBL)(cl * csign);
206 * \brief Calculate cosine and sine value each of 2 angles different angle values.
215 FIXP_DBL residual, error0, error1, sine, cosine; local
216 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine);
218 error1 = fMultDiv2(cosine, residual);
219 *out++ = cosine - (error0<<1)
    [all...]
  /external/aac/libFDK/src/
FDK_trigFcts.cpp 298 FIXP_DBL residual, error, sine, cosine; local
300 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine);
303 return cosine - error;
308 FIXP_DBL residual, error, sine, cosine; local
310 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine);
311 error = fMult(cosine, residual);
318 FIXP_DBL residual, error0, error1, sine, cosine; local
320 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine);
322 error1 = fMult(cosine, residual);
323 *cos = cosine - error0
    [all...]
  /frameworks/base/graphics/java/android/graphics/
ColorMatrix.java 147 float cosine = (float) Math.cos(radians); local
152 mArray[6] = mArray[12] = cosine;
158 mArray[0] = mArray[12] = cosine;
164 mArray[0] = mArray[6] = cosine;
  /external/crcalc/tests/src/com/hp/creals/
CRTest.java 121 UnaryCRFunction cosine = UnaryCRFunction.sinFunction local
123 check_eq(cosine.execute(one), one.cos(), "monotoneDerivative failed");
124 check_eq(cosine.execute(three), three.cos(),
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
HarmonicCoefficientsGuesser.java 268 double cosine = FastMath.cos(omegaX); local
270 fcMean += omega * currentY * cosine - currentYPrime * sine;
271 fsMean += omega * currentY * sine + currentYPrime * cosine;
  /frameworks/base/core/java/android/gesture/
GestureUtils.java 35 * <li>gesture similarity comparison (e.g., calculating Euclidean or Cosine
418 * Calculates the cosine distance between two instances.
434 * Calculates the "minimum" cosine distance between two instances.
455 final double cosine = Math.cos(angle); local
456 final double sine = cosine * tan;
457 return (float) Math.acos(a * cosine + b * sine);
  /frameworks/native/services/inputflinger/
InputReader.cpp 5580 float cosine = dot \/ (dist1 * dist2); \/\/ denominator always > 0 local
    [all...]

Completed in 186 milliseconds