Home
last modified time | relevance | path

Searched refs:RandDouble (Results 1 – 19 of 19) sorted by relevance

/external/ceres-solver/internal/ceres/
Dcorrector_test.cc172 jacobian[i] = RandDouble(); in TEST()
174 residuals[i] = RandDouble(); in TEST()
179 rho[1] = RandDouble(); in TEST()
180 rho[2] = 2.0 * RandDouble() - 1.0; in TEST()
240 jacobian[i] = RandDouble(); in TEST()
248 rho[1] = RandDouble(); in TEST()
249 rho[2] = 2 * RandDouble() - 1.0; in TEST()
Drandom.h49 inline double RandDouble() { in RandDouble() function
59 x1 = 2.0 * RandDouble() - 1.0; in RandNormal()
60 x2 = 2.0 * RandDouble() - 1.0; in RandNormal()
Drotation_test.cc50 double RandDouble() { in RandDouble() function
320 axis_angle[i] = RandDouble() * 2 - 1; in TEST()
326 double theta = kPi * 2 * RandDouble() - kPi; in TEST()
352 quaternion[i] = RandDouble() * 2 - 1; in TEST()
429 in_axis_angle[i] = RandDouble() * 2 - 1; in TEST()
436 double theta = kPi - kMaxSmallAngle * RandDouble(); in TEST()
528 axis_angle[i] = RandDouble() * 2 - 1; in TEST()
534 double theta = kPi * 2 * RandDouble() - kPi; in TEST()
561 axis_angle[i] = RandDouble() * 2 - 1; in TEST()
567 double theta = 1e-16 * (kPi * 2 * RandDouble() - kPi); in TEST()
[all …]
Dnormal_prior_test.cc44 (*v)[r] = 2 * RandDouble() - 1; in RandomVector()
50 (*m)(r, c) = 2 * RandDouble() - 1; in RandomMatrix()
68 x[i] = 2 * RandDouble() - 1; in TEST()
105 x[i] = 2 * RandDouble() - 1; in TEST()
Dgradient_checker_test.cc62 a_[j][u] = 2.0 * RandDouble() - 1.0; in GoodTestTerm()
115 a_[j][u] = 2.0 * RandDouble() - 1.0; in BadTestTerm()
172 parameters[j][u] = 2.0 * RandDouble() - 1.0; in TEST()
Dpartitioned_matrix_view_test.cc90 x1(i) = x2(i) = RandDouble(); in TEST_F()
109 x1(i) = RandDouble(); in TEST_F()
127 x(i) = RandDouble(); in TEST_F()
Dgradient_checking_cost_function_test.cc78 a_[j][u] = 2.0 * RandDouble() - 1.0; in TestTerm()
144 parameters[j][u] = 2.0 * RandDouble() - 1.0; in TEST()
201 parameters[j][u] = 2.0 * RandDouble() - 1.0; in TEST()
Dautodiff_test.cc170 PX[i] = RandDouble(); in TEST()
291 qcX[i] = RandDouble(); in TEST()
Dcompressed_row_sparse_matrix_test.cc446 if (RandDouble() <= options.block_density) { in CreateRandomCompressedRowSparseMatrix()
518 options.block_density = std::max(0.1, RandDouble()); in TEST()
/external/ceres-solver/examples/
Drandom.h42 inline double RandDouble() { in RandDouble() function
52 x1 = 2.0 * RandDouble() - 1.0; in RandNormal()
53 x2 = 2.0 * RandDouble() - 1.0; in RandNormal()
/external/libweave/third_party/chromium/base/
Drand_util_unittest.cc38 TEST(RandUtilTest, RandDouble) { in TEST() argument
40 volatile double number = base::RandDouble(); in TEST()
Drand_util.h32 double RandDouble();
Drand_util.cc32 double RandDouble() { in RandDouble() function
/external/libchrome/base/
Drand_util_unittest.cc37 TEST(RandUtilTest, RandDouble) { in TEST() argument
39 volatile double number = base::RandDouble(); in TEST()
Drand_util.h32 BASE_EXPORT double RandDouble();
Drand_util.cc32 double RandDouble() { in RandDouble() function
/external/libweave/src/
Dbackoff_entry.cc135 delay_ms -= base::RandDouble() * policy_->jitter_factor * delay_ms; in CalculateReleaseTime()
/external/libbrillo/brillo/
Dbackoff_entry.cc136 delay_ms -= base::RandDouble() * policy_->jitter_factor * delay_ms; in CalculateReleaseTime()
/external/libchrome/base/metrics/
Dfield_trial.cc394 entropy_value = RandDouble(); in FactoryGetFieldTrialWithRandomizationSeed()