Home
last modified time | relevance | path

Searched refs:sine (Results 1 – 25 of 35) sorted by relevance

12

/external/aac/libFDK/include/
DFDK_trigFcts.h144 static inline FIXP_DBL fixp_sin_cos_residual_inline(FIXP_DBL x, int scale, FIXP_DBL *sine, FIXP_DBL… in fixp_sin_cos_residual_inline() argument
194 *sine = (FIXP_DBL)((sl * ssign) << (DFRACT_BITS-FRACT_BITS)); in fixp_sin_cos_residual_inline()
197 *sine = (FIXP_DBL)(sl * ssign); 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()
217 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin()
220 *out++ = sine + (error1<<1); in inline_fixp_cos_sin()
222 residual = fixp_sin_cos_residual_inline(x2, scale, &sine, &cosine); in inline_fixp_cos_sin()
223 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin()
226 *out++ = sine + (error1<<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()
301 error = fMult(sine, residual); 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()
313 return sine + error; 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()
321 error0 = fMult(sine, residual); in fixp_cos_sin()
324 *sin = sine + error1; in fixp_cos_sin()
/external/python/cpython2/Demo/scripts/
Dmorse.py122 sine(dev, DOT, wave)
124 sine(dev, DAH, wave)
129 def sine(dev, length, wave): function
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DHarmonicCoefficientsGuesser.java269 double sine = FastMath.sin(omegaX); in guessPhi() local
270 fcMean += omega * currentY * cosine - currentYPrime * sine; in guessPhi()
271 fsMean += omega * currentY * sine + currentYPrime * cosine; in guessPhi()
/external/python/cpython2/Mac/Demo/sound/
Dmorse.py166 sine(dev, DOT)
168 sine(dev, DAH)
173 def sine(dev, length): function
/external/skia/src/effects/
DSkColorMatrix.cpp103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { in setSinCos() argument
115 fMat[index[1]] = sine; in setSinCos()
116 fMat[index[2]] = -sine; in setSinCos()
/external/sonic/samples/
DREADME32 This is just two sine periods, which is too short to hear. However, it's
34 result in one sine period with no distortion.
/external/skia/gm/
Daaa.cpp113 SkScalar sine = SkScalarSinCos(a, &cosine); in onDraw() local
114 path.lineTo(C + R * cosine, C + R * sine); in onDraw()
/external/eigen/Eigen/src/Core/
DGlobalFunctions.h60 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(sin,scalar_sin_op,sine,\sa ArrayBase::sin)
64 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(asin,scalar_asin_op,arc-sine,\sa ArrayBase::asin)
66 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(sinh,scalar_sinh_op,hyperbolic sine,\sa ArrayBase::sinh)
/external/python/cpython2/Doc/library/
Dcmath.rst130 Return the arc sine of *x*. This has the same branch cuts as :func:`acos`.
151 Return the sine of *x*.
170 Return the inverse hyperbolic sine of *x*. There are two branch cuts:
197 Return the hyperbolic sine of *x*.
Dmath.rst239 Return the arc sine of *x*, in radians.
270 Return the sine of *x* radians.
303 Return the inverse hyperbolic sine of *x*.
322 Return the hyperbolic sine of *x*.
/external/ltp/testcases/network/tcp_cmds/echo/
Decho0153 TC=sine
/external/skia/include/effects/
DSkColorMatrix.h48 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
/external/eigen/unsupported/Eigen/
DMatrixFunctions39 * - \ref matrixbase_sin "MatrixBase::sin()", for computing the matrix sine
40 * - \ref matrixbase_sinh "MatrixBase::sinh()", for computing the matrix hyperbolic sine
394 Compute the matrix sine.
403 This function computes the matrix sine. Use ArrayBase::sin() for computing the entry-wise sine.
414 Compute the matrix hyperbolic sine.
/external/ImageMagick/MagickCore/
Dpaint.c545 sine, in GradientImage() local
552 sine=sin((double) DegreesToRadians(gradient->angle-90.0)); in GradientImage()
555 fabs((double) image->rows*sine); in GradientImage()
557 gradient->gradient_vector.y1=0.5*(image->rows-distance*sine); in GradientImage()
559 gradient->gradient_vector.y2=0.5*(image->rows+distance*sine); in GradientImage()
Ddraw.c5133 sine; in TraceArcPath() local
5158 sine=sin(DegreesToRadians(fmod((double) angle,360.0))); in TraceArcPath()
5159 center.x=(double) (cosine*(end.x-start.x)/2+sine*(end.y-start.y)/2); in TraceArcPath()
5160 center.y=(double) (cosine*(end.y-start.y)/2-sine*(end.x-start.x)/2); in TraceArcPath()
5173 points[0].x=(double) (cosine*start.x/radii.x+sine*start.y/radii.x); in TraceArcPath()
5174 points[0].y=(double) (cosine*start.y/radii.y-sine*start.x/radii.y); in TraceArcPath()
5175 points[1].x=(double) (cosine*end.x/radii.x+sine*end.y/radii.x); in TraceArcPath()
5176 points[1].y=(double) (cosine*end.y/radii.y-sine*end.x/radii.y); in TraceArcPath()
5222 (p+1)->point.x=(double) (cosine*radii.x*points[0].x-sine*radii.y* in TraceArcPath()
5224 (p+1)->point.y=(double) (sine*radii.x*points[0].x+cosine*radii.y* in TraceArcPath()
[all …]
Ddistort.c666 cosine, sine, in GenerateCoefficients() local
734 a=DegreesToRadians(a); cosine=cos(a); sine=sin(a); in GenerateCoefficients()
738 coeff[1]=sine/sx; in GenerateCoefficients()
740 coeff[3]=(-sine)/sy; in GenerateCoefficients()
Dfx.c5234 sine; in SwirlImage() local
5240 sine=sin((double) (degrees*factor*factor)); in SwirlImage()
5243 method,((cosine*delta.x-sine*delta.y)/scale.x+center.x),(double) in SwirlImage()
5244 ((sine*delta.x+cosine*delta.y)/scale.y+center.y),q,exception); in SwirlImage()
Dresize.c176 const double sine=sqrt(1.0-cosine*cosine); in Bohman() local
178 return((1.0-x)*cosine+(1.0/MagickPI)*sine); in Bohman()
/external/icu/icu4c/source/data/region/
Dln.txt173 PS{"Palɛsine"}
/external/eigen/doc/
DCoeffwiseMathFunctionsTable.dox217 <td>computes sine</td>
253 <td>computes arc sine (\f$ \sin^{-1} a_i \f$)</td>
292 <td>computes hyperbolic sine</td>
DTutorialAdvancedInitialization.dox91 with angles in degrees, the corresponding angle in radians, and their sine and cosine.
/external/swiftshader/src/Shader/
DShaderCore.cpp284 Float4 sine(RValue<Float4> x, bool pp) in sine() function
311 return sine(y, pp); in cosine()
316 return sine(x, pp) / cosine(x, pp); in tangent()
1424 dst.x = sine(src.x, pp); in sin()
1425 dst.y = sine(src.y, pp); in sin()
1426 dst.z = sine(src.z, pp); in sin()
1427 dst.w = sine(src.w, pp); in sin()
DShaderCore.hpp66 Float4 sine(RValue<Float4> x, bool pp = false);
/external/python/cpython2/Lib/test/
Dcmath_testcases.txt402 -- asin: Inverse sine --
560 -- asinh: Inverse hyperbolic sine --
1557 -- libraries have poor accuracy for (real) sine and cosine for

12