Searched refs:theta2 (Results 1 – 10 of 10) sorted by relevance
/external/flac/src/test_streams/ |
D | main.c | 411 double theta1, theta2; in generate_sine8_1() local 417 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_1() 418 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine8_1() 438 double theta1, theta2; in generate_sine8_2() local 444 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_2() 445 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine8_2() 449 val = -(a1*sin(theta1*fmult) + a2*sin(theta2*fmult))*(double)full_scale; in generate_sine8_2() 469 double theta1, theta2; in generate_sine16_1() local 475 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine16_1() 476 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine16_1() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | HighamHall54StepInterpolator.java | 76 final double theta2 = theta * theta; in computeInterpolatedStateAndDerivatives() local 79 …final double b2 = h * (-27.0/32.0 + theta2 * (459.0/32.0 + theta * (-243.0/8.0 + theta * 135.0/8.0… in computeInterpolatedStateAndDerivatives() 80 final double b3 = h * (4.0/3.0 + theta2 * (-22.0 + theta * (152.0/3.0 + theta * -30.0))); in computeInterpolatedStateAndDerivatives() 81 …final double b4 = h * (-125.0/96.0 + theta2 * (375.0/32.0 + theta * (-625.0/24.0 + theta * 125.0/8… in computeInterpolatedStateAndDerivatives() 82 final double b5 = h * (-5.0/48.0 + theta2 * (-5.0/16.0 + theta * 5.0/12.0)); in computeInterpolatedStateAndDerivatives()
|
D | DormandPrince853StepInterpolator.java | 362 final double theta2 = theta * theta; in computeInterpolatedStateAndDerivatives() local 366 final double dot4 = theta2 * (3 + theta * (5 * theta - 8)); in computeInterpolatedStateAndDerivatives() 367 final double dot5 = theta2 * (3 + theta * (-12 + theta * (15 - 6 * theta))); in computeInterpolatedStateAndDerivatives() 368 final double dot6 = theta2 * theta * (4 + theta * (-15 + theta * (18 - 7 * theta))); in computeInterpolatedStateAndDerivatives()
|
/external/fonttools/Lib/fontTools/svgLib/path/ |
D | arc.py | 37 self.center_point = self.theta1 = self.theta2 = self.theta_arc = None 94 theta2 = atan2(point2.imag, point2.real) 96 theta_arc = theta2 - theta1 103 self.theta2 = theta1 + theta_arc
|
/external/skia/gm/ |
D | mandoline.cpp | 190 float theta2 = 2*SK_ScalarPI/nquads * (i + 1); in onDraw() local 192 {cosf(theta2), sinf(theta2)}); in onDraw()
|
/external/skqp/gm/ |
D | mandoline.cpp | 184 float theta2 = 2*SK_ScalarPI/nquads * (i + 1); in onDraw() local 186 {cosf(theta2), sinf(theta2)}); in onDraw()
|
/external/freetype/src/base/ |
D | ftstroke.c | 204 FT_Angle theta1, theta2; in ft_cubic_is_small_enough() local 286 theta2 = ft_pos_abs( FT_Angle_Diff( *angle_mid, *angle_out ) ); in ft_cubic_is_small_enough() 289 theta2 < FT_SMALL_CUBIC_THRESHOLD ); in ft_cubic_is_small_enough() 1633 FT_Angle theta1, phi1, theta2, phi2, rotate, alpha0 = 0; in FT_Stroker_CubicTo() local 1640 theta2 = FT_Angle_Diff( angle_mid, angle_out ) / 2; in FT_Stroker_CubicTo() 1644 length2 = FT_DivFix( stroker->radius, FT_Cos( theta2 ) ); in FT_Stroker_CubicTo()
|
/external/skia/src/core/ |
D | SkPathBuilder.cpp | 499 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo() local 500 SkScalar thetaArc = theta2 - theta1; in arcTo()
|
D | SkPath.cpp | 1217 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo() local 1218 SkScalar thetaArc = theta2 - theta1; in arcTo()
|
/external/skqp/src/core/ |
D | SkPath.cpp | 1468 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo() local 1469 SkScalar thetaArc = theta2 - theta1; in arcTo()
|