Searched defs:theta (Results 1 - 25 of 51) sorted by relevance

123

/external/fio/lib/
H A Dzipf.h9 double theta; member in struct:zipf_state
17 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed);
H A Dzipf.c29 zs->zetan += pow(1.0 / (double) (i + 1), zs->theta);
42 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, argument
47 zs->theta = theta;
48 zs->zeta2 = pow(1.0, zs->theta) + pow(0.5, zs->theta);
59 alpha = 1.0 / (1.0 - zs->theta);
60 eta = (1.0 - pow(2.0 / n, 1.0 - zs->theta)) / (1.0 - zs->zeta2 / zs->zetan);
67 else if (rand_z < (1.0 + pow(0.5, zs->theta)))
/external/libcxx/test/numerics/complex.number/complex.value.ops/
H A Dpolar.pass.cpp14 // polar(const T& rho, const T& theta = 0);
30 test(const T& rho, const T& theta, std::complex<T> x) argument
32 assert(std::polar(rho, theta) == x);
53 double theta = imag(x[i]); local
54 std::complex<double> z = std::polar(r, theta);
58 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN)
69 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN)
88 if (classify(theta) !
[all...]
/external/valgrind/main/none/tests/amd64/
H A Dbug132918.c44 double theta; local
50 theta = (2.0 * 3.14159) / 10.0 * (double)i;
51 do_fprem(&r, 12.3*sin(theta), cos(theta)); show("xx", &r);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.h44 VGfloat theta; member in struct:arc
/external/mesa3d/src/gallium/state_trackers/vega/
H A Darc.h44 VGfloat theta; member in struct:arc
/external/opencv/cv/src/
H A D_cvlist.h367 float rho, theta; member in struct:__index
H A Dcvcamshift.cpp175 double theta = 0, square; local
235 theta = atan2( 2 * b, a - c + square );
238 cs = cos( theta );
239 sn = sin( theta );
253 theta = CV_PI*0.5 - theta;
292 box->angle = (float)(theta*180./CV_PI);
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
/external/ceres-solver/examples/
H A Dmore_garbow_hillstrom.cc180 const T theta = T(0.5 / M_PI) * atan(x2 / x1) + (x1 > 0.0 ? T(0.0) : T(0.5)); member in namespace:ceres::examples
182 residual[0] = T(10.0) * (x3 - T(10.0) * theta);
/external/chromium_org/third_party/freetype/src/base/
H A Dfttrigon.c146 FT_Angle theta )
157 while ( theta < -FT_ANGLE_PI4 )
162 theta += FT_ANGLE_PI2;
165 while ( theta > FT_ANGLE_PI4 )
170 theta -= FT_ANGLE_PI2;
178 if ( theta < 0 )
183 theta += *arctanptr++;
190 theta -= *arctanptr++;
202 FT_Angle theta; local
216 theta
[all...]
/external/eigen/bench/
H A Deig33.cpp77 Scalar theta = std::atan2(internal::sqrt(-q),half_b)*s_inv3; local
78 Scalar cos_theta = internal::cos(theta);
79 Scalar sin_theta = internal::sin(theta);
H A Dquat_slerp.cpp32 // theta is the angle between the 2 quaternions
33 Scalar theta = std::acos(absD);
34 Scalar sinTheta = internal::sin(theta);
36 Scalar scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta;
37 Scalar scale1 = internal::sin( ( t * theta) ) / sinTheta;
62 // theta is the angle between the 2 quaternions
63 Scalar theta = std::acos(absD); local
64 Scalar sinTheta = internal::sin(theta);
66 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta;
67 scale1 = internal::sin( ( t * theta) ) / sinThet
90 Scalar theta; local
114 Scalar theta; local
[all...]
/external/eigen/test/
H A Dgeo_quaternion.cpp38 Scalar theta = AA(q*q0.inverse()).angle(); local
41 else VERIFY(abs(theta - t * theta_tot) < largeEps);
/external/freetype/src/base/
H A Dfttrigon.c146 FT_Angle theta )
157 while ( theta < -FT_ANGLE_PI4 )
162 theta += FT_ANGLE_PI2;
165 while ( theta > FT_ANGLE_PI4 )
170 theta -= FT_ANGLE_PI2;
178 if ( theta < 0 )
183 theta += *arctanptr++;
190 theta -= *arctanptr++;
202 FT_Angle theta; local
216 theta
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfttrigon.c146 FT_Angle theta )
157 while ( theta < -FT_ANGLE_PI4 )
162 theta += FT_ANGLE_PI2;
165 while ( theta > FT_ANGLE_PI4 )
170 theta -= FT_ANGLE_PI2;
178 if ( theta < 0 )
183 theta += *arctanptr++;
190 theta -= *arctanptr++;
202 FT_Angle theta; local
216 theta
[all...]
/external/srec/srec/clib/
H A Djacobi.c128 double theta = 0.5 * h / a[i][j]; local
129 t = 1.0 / (fabs(theta) + sqrt(1.0 + theta * theta));
130 if (theta < 0.0) t = -t;
/external/ceres-solver/internal/ceres/
H A Dtrust_region_minimizer_test.cc380 double theta = i * 2. * pi/ static_cast< double >(N); local
382 y[i][0] = cos(theta);
383 y[i][1] = sin(theta);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasPathMethods.cpp174 inline FloatPoint getPointOnEllipse(float radiusX, float radiusY, float theta) argument
176 return FloatPoint(radiusX * cosf(theta), radiusY * sinf(theta));
/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A DMatrix.cpp42 float theta = angle * (M_PI / 180.0f); local
43 float cos_t = cosf(theta);
44 float sin_t = sinf(theta);
/external/chromium_org/third_party/opus/src/celt/
H A Dvq.c70 opus_val16 gain, theta; local
79 theta = HALF16(MULT16_16_Q15(gain,gain));
81 c = celt_cos_norm(EXTEND32(theta));
82 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */
/external/eigen/demos/opengl/
H A Dcamera.cpp217 float theta = mFovY*0.5; local
219 float invtan = 1./tan(theta);
/external/libopus/celt/
H A Dvq.c70 opus_val16 gain, theta; local
79 theta = HALF16(MULT16_16_Q15(gain,gain));
81 c = celt_cos_norm(EXTEND32(theta));
82 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */

Completed in 5374 milliseconds

123