Home
last modified time | relevance | path

Searched refs:kPi (Results 1 – 5 of 5) sorted by relevance

/external/ceres-solver/internal/ceres/
Drotation_test.cc47 const double kPi = 3.14159265358979323846; variable
233 double axis_angle[3] = { kPi / 2, 0, 0 }; in TEST()
254 double expected[3] = { 0, kPi, 0 }; in TEST()
264 double expected[3] = { 0, 0, kPi / 3 }; in TEST()
295 const double half_theta = 0.75 * kPi; in TEST()
305 EXPECT_LE(angle, kPi); in TEST()
326 double theta = kPi * 2 * RandDouble() - kPi; in TEST()
391 double axis_angle[3] = { kPi / 2, 0, 0 }; in TEST()
406 double axis_angle[3] = { 0, kPi, 0 }; in TEST()
436 double theta = kPi - kMaxSmallAngle * RandDouble(); in TEST()
[all …]
/external/libvpx/libvpx/test/
Didct8x8_test.cc36 const double kPi = 3.141592653589793238462643383279502884; in reference_dct_1d() local
41 output[k] += input[n]*cos(kPi*(2*n+1)*k/16.0); in reference_dct_1d()
72 const double kPi = 3.141592653589793238462643383279502884; in reference_idct_1d() local
77 output[k] += input[n]*cos(kPi*(2*k+1)*n/16.0); in reference_idct_1d()
Ddct32x32_test.cc39 const double kPi = 3.141592653589793238462643383279502884; variable
45 out[k] += in[n] * cos(kPi * (2 * n + 1) * k / 64.0); in reference_32x32_dct_1d()
/external/ceres-solver/examples/
Dnist.cc347 const double kPi = 3.141592653589793238462643383279;
351 b[0] - b[1] * x - atan2(b[2], (x - b[3]))/T(kPi)
375 b[0] + b[1] * cos(T(2.0 * kPi) * x / T(12.0)) +
376 b[2] * sin(T(2.0 * kPi) * x / T(12.0)) +
377 b[4] * cos(T(2.0 * kPi) * x / b[3]) +
378 b[5] * sin(T(2.0 * kPi) * x / b[3]) +
379 b[7] * cos(T(2.0 * kPi) * x / b[6]) +
380 b[8] * sin(T(2.0 * kPi) * x / b[6])
/external/ceres-solver/include/ceres/
Drotation.h445 const double kPi = 3.14159265358979323846; in EulerAnglesToRotationMatrix() local
446 const T degrees_to_radians(kPi / 180.0); in EulerAnglesToRotationMatrix()