Home
last modified time | relevance | path

Searched refs:cosine (Results 1 – 23 of 23) sorted by relevance

/external/aac/libFDK/include/
DFDK_trigFcts.h144 …line FIXP_DBL fixp_sin_cos_residual_inline(FIXP_DBL x, int scale, FIXP_DBL *sine, FIXP_DBL *cosine) in fixp_sin_cos_residual_inline() argument
195 *cosine = (FIXP_DBL)((cl * csign) << (DFRACT_BITS-FRACT_BITS)); in fixp_sin_cos_residual_inline()
198 *cosine = (FIXP_DBL)(cl * csign); in fixp_sin_cos_residual_inline()
215 FIXP_DBL residual, error0, error1, sine, cosine; in inline_fixp_cos_sin() local
216 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine); in inline_fixp_cos_sin()
218 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
219 *out++ = cosine - (error0<<1); in inline_fixp_cos_sin()
222 residual = fixp_sin_cos_residual_inline(x2, scale, &sine, &cosine); in inline_fixp_cos_sin()
224 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
225 *out++ = cosine - (error0<<1); in inline_fixp_cos_sin()
/external/aac/libFDK/src/
DFDK_trigFcts.cpp298 FIXP_DBL residual, error, sine, cosine; in fixp_cos() local
300 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos()
303 return cosine - error; in fixp_cos()
308 FIXP_DBL residual, error, sine, cosine; in fixp_sin() local
310 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_sin()
311 error = fMult(cosine, residual); in fixp_sin()
318 FIXP_DBL residual, error0, error1, sine, cosine; in fixp_cos_sin() local
320 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos_sin()
322 error1 = fMult(cosine, residual); in fixp_cos_sin()
323 *cos = cosine - error0; in fixp_cos_sin()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DHarmonicCoefficientsGuesser.java268 double cosine = FastMath.cos(omegaX); in guessPhi() local
270 fcMean += omega * currentY * cosine - currentYPrime * sine; in guessPhi()
271 fsMean += omega * currentY * sine + currentYPrime * cosine; in guessPhi()
/external/skia/src/effects/
DSkColorMatrix.cpp103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { in setSinCos() argument
114 fMat[index[0]] = cosine; in setSinCos()
117 fMat[index[3]] = cosine; in setSinCos()
/external/crcalc/tests/src/com/hp/creals/
DCRTest.java121 UnaryCRFunction cosine = UnaryCRFunction.sinFunction in testCR() local
123 check_eq(cosine.execute(one), one.cos(), "monotoneDerivative failed"); in testCR()
124 check_eq(cosine.execute(three), three.cos(), in testCR()
/external/opencv3/samples/cpp/
Dsquares.cpp113 double cosine = fabs(angle(approx[j%4], approx[j-2], approx[j-1])); in findSquares() local
114 maxCosine = MAX(maxCosine, cosine); in findSquares()
/external/opencv3/samples/tapi/
Dsquares.cpp100 double cosine = fabs(angle(approx[j%4], approx[j-2], approx[j-1])); in findSquares() local
101 maxCosine = MAX(maxCosine, cosine); in findSquares()
/external/v8/src/third_party/fdlibm/
DREADME.v815 For the use in V8, fdlibm has been reduced to include only sine, cosine and
/external/skia/include/effects/
DSkColorMatrix.h48 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
Dvec3.js690 var cosine = vec3.dot(tempA, tempB);
692 if(cosine > 1.0){
695 return Math.acos(cosine);
/external/opencv3/3rdparty/openexr/Imath/
DImathMatrix.h2975 S cosine = Math<T>::cos (angle);
2977 x[0][0] = unit[0] * unit[0] * (1 - cosine) + cosine;
2978 x[0][1] = unit[0] * unit[1] * (1 - cosine) + unit[2] * sine;
2979 x[0][2] = unit[0] * unit[2] * (1 - cosine) - unit[1] * sine;
2982 x[1][0] = unit[0] * unit[1] * (1 - cosine) - unit[2] * sine;
2983 x[1][1] = unit[1] * unit[1] * (1 - cosine) + cosine;
2984 x[1][2] = unit[1] * unit[2] * (1 - cosine) + unit[0] * sine;
2987 x[2][0] = unit[0] * unit[2] * (1 - cosine) + unit[1] * sine;
2988 x[2][1] = unit[1] * unit[2] * (1 - cosine) - unit[0] * sine;
2989 x[2][2] = unit[2] * unit[2] * (1 - cosine) + cosine;
/external/eigen/unsupported/Eigen/
DMatrixFunctions35 * - \ref matrixbase_cos "MatrixBase::cos()", for computing the matrix cosine
36 * - \ref matrixbase_cosh "MatrixBase::cosh()", for computing the matrix hyperbolic cosine
78 Compute the matrix cosine.
95 Compute the matrix hyberbolic cosine.
/external/eigen/doc/
DTutorialAdvancedInitialization.dox91 with angles in degrees, the corresponding angle in radians, and their sine and cosine.
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/
Dgl-matrix.js3923 var cosine = vec3.dot(tempA, tempB);
3925 if(cosine > 1.0){
3928 return Math.acos(cosine);
/external/skia/src/animator/
DSkAnimateSchema.xsd748 <!-- @attribute acos A function that returns the arc cosine of its argument. -->
758 <!-- @attribute cos A function that returns the cosine of its argument. -->
/external/llvm/docs/
DWritingAnLLVMBackend.rst1369 floating-point sine and cosine trig operations are supported by expansion to
DLangRef.rst9808 The '``llvm.cos.*``' intrinsics return the cosine of the operand.
9819 This function returns the cosine of the specified operand, returning the
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...