/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.value.ops/ |
polar.pass.cpp | 14 // polar(const T& rho, const T& theta = 0); 30 test(const T& rho, const T& theta, std::complex<T> x) 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) != NaN && classify(theta) != inf [all...] |
/external/valgrind/main/none/tests/amd64/ |
bug132918.c | 44 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/opencv/cv/src/ |
_cvlist.h | 367 float rho, theta; member in struct:__index
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/ |
atlantis.h | 47 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/ |
atlantis.h | 47 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/ |
atlantis.h | 47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
|
/external/srec/srec/clib/ |
jacobi.c | 128 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/eigen/bench/ |
eig33.cpp | 77 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);
|
quat_slerp.cpp | 32 // 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) ) / sinTheta 90 Scalar theta; local 114 Scalar theta; local [all...] |
/external/eigen/demos/opengl/ |
camera.cpp | 217 float theta = mFovY*0.5; local 219 float invtan = 1./tan(theta);
|
/external/eigen/test/ |
geo_quaternion.cpp | 38 Scalar theta = AA(q*q0.inverse()).angle(); local 41 else VERIFY(internal::abs(theta/theta_tot - t) < largeEps);
|
/external/freetype/src/base/ |
fttrigon.c | 187 FT_Angle theta ) 198 while ( theta <= -FT_ANGLE_PI2 ) 202 theta += FT_ANGLE_PI; 205 while ( theta > FT_ANGLE_PI2 ) 209 theta -= FT_ANGLE_PI; 215 if ( theta < 0 ) 220 theta += *arctanptr++; 227 theta -= *arctanptr++; 234 if ( theta < 0 ) 239 theta += *arctanptr++ 258 FT_Fixed theta; local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Ring.java | 190 + FastMath.nextRandomFloat() * (outer2 - inner2)), theta = FastMath
local 199 result.set(b1).multLocal(r * FastMath.cos(theta)).addLocal(center);
200 result.scaleAdd(r * FastMath.sin(theta), b2, result);
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.cpp | 289 const double theta = abs_val_vec[curr_l0_norm - req_l0_norm]; local 294 if ((fabs(iter->second/normalizer_) - theta) < 0) { 327 double theta = 0; local 333 theta = (cum_sum - l1_norm)/curr_index; 334 if (((*val_iter) - theta) <= 0) { 345 (fabs(iter->second/normalizer_) - theta),
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 136 double theta; member in struct:__anon22219
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 31 double r2_min_q3,theta,bp_through3,theta_through3; local 56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq)))); 58 theta_through3=theta/3.0;
|
/packages/apps/Gallery2/jni/filters/ |
tinyplanet.cc | 110 float theta = angle+atan2(yf, xf); local 111 if (theta>PI_F) theta-=2*PI_F; 115 // (theta stays the same) 118 float px = (theta / (2 * PI_F)) * input_width;
|
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/ |
MosaicTypes.h | 136 double theta; member in struct:__anon22226
|
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 31 double r2_min_q3,theta,bp_through3,theta_through3; local 56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq)))); 58 theta_through3=theta/3.0;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 136 double theta; member in struct:__anon22233
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 31 double r2_min_q3,theta,bp_through3,theta_through3; local 56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq)))); 58 theta_through3=theta/3.0;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
Matrix2fTest.java | 183 float theta = 30.0f * (float)(java.lang.Math.PI / 180.0f); local 184 float cosTheta = (float)Math.cos((float)theta); 185 float sinTheta = (float)Math.sin((float)theta);
|
/external/ceres-solver/internal/ceres/ |
trust_region_minimizer_test.cc | 356 double theta = i * 2. * pi/ static_cast< double >(N); local 358 y[i][0] = cos(theta); 359 y[i][1] = sin(theta);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
PQTorus.java | 150 float r, x, y, z, theta = 0.0f, beta = 0.0f; local 155 theta += thetaStep; 159 r = (0.5f * (2.0f + FastMath.sin(q * theta)) * radius); 160 x = (r * FastMath.cos(p * theta) * radius); 161 y = (r * FastMath.sin(p * theta) * radius); 162 z = (r * FastMath.cos(q * theta) * radius); 166 r = (0.5f * (2.0f + FastMath.sin(q * (theta + 0.01f))) * radius); 167 x = (r * FastMath.cos(p * (theta + 0.01f)) * radius); 168 y = (r * FastMath.sin(p * (theta + 0.01f)) * radius); 169 z = (r * FastMath.cos(q * (theta + 0.01f)) * radius) [all...] |
Torus.java | 138 float theta = FastMath.TWO_PI * circleFraction; local 139 float cosTheta = FastMath.cos(theta); 140 float sinTheta = FastMath.sin(theta);
|