Home
last modified time | relevance | path

Searched refs:drand64 (Results 1 – 25 of 51) sorted by relevance

123

/dports/misc/vxl/vxl-3.3.2/contrib/mul/mbl/tests/
H A Dtest_thin_plate_spline_weights_3d.cxx22 pts1[i]=vgl_point_3d<double>(mz_random.drand64(), in test_tpsw3d_at_fixed_points()
23 mz_random.drand64(), in test_tpsw3d_at_fixed_points()
24 mz_random.drand64()); in test_tpsw3d_at_fixed_points()
25 pts2[i]=vgl_point_3d<double>(mz_random.drand64(), in test_tpsw3d_at_fixed_points()
26 mz_random.drand64(), in test_tpsw3d_at_fixed_points()
27 mz_random.drand64()); in test_tpsw3d_at_fixed_points()
64 pts1[i]=vgl_point_3d<double>(mz_random.drand64(), in test_tpsw3d_at_fixed_points_with_weights()
65 mz_random.drand64(), in test_tpsw3d_at_fixed_points_with_weights()
67 pts2[i]=vgl_point_3d<double>(mz_random.drand64(), in test_tpsw3d_at_fixed_points_with_weights()
68 mz_random.drand64(), in test_tpsw3d_at_fixed_points_with_weights()
[all …]
H A Dtest_thin_plate_spline_3d.cxx22 pts1[i]=vgl_point_3d<double>(mz_random.drand64(), in test_tps3d_at_fixed_points()
23 mz_random.drand64(), in test_tps3d_at_fixed_points()
24 mz_random.drand64()); in test_tps3d_at_fixed_points()
25 pts2[i]=vgl_point_3d<double>(mz_random.drand64(), in test_tps3d_at_fixed_points()
26 mz_random.drand64(), in test_tps3d_at_fixed_points()
27 mz_random.drand64()); in test_tps3d_at_fixed_points()
H A Dtest_correspond_points.cxx26 double x = mz_random.drand64(), y = mz_random.drand64(); in test_correspond_points()
86 double x = mz_random.drand64(), y = mz_random.drand64(); in test_correspond_points()
102 double x = mz_random.drand64(), y = mz_random.drand64(); in test_correspond_points()
104 x = mz_random.drand64(); y = mz_random.drand64(); in test_correspond_points()
H A Dtest_thin_plate_spline_2d.cxx22 pts1[i]=vgl_point_2d<double>(mz_random.drand64(),mz_random.drand64()); in test_tps_at_fixed_points()
23 pts2[i]=vgl_point_2d<double>(mz_random.drand64(),mz_random.drand64()); in test_tps_at_fixed_points()
H A Dtest_clamped_plate_spline_2d.cxx22 pts1[i]=vgl_point_2d<double>(0.5*mz_random.drand64(),0.5*mz_random.drand64()); in test_cps_at_fixed_points()
23 pts2[i]=vgl_point_2d<double>(0.5*mz_random.drand64(),0.5*mz_random.drand64()); in test_cps_at_fixed_points()
H A Dtest_dyn_prog.cxx92 W(i,j)=rand1.drand64(0,1); in test_dyn_prog1()
122 W(i,j)=rand1.drand64(0,1); in test_dyn_prog_loop()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/tests/
H A Dtest_symmetric_eigensystem.cxx114 M11 = rng.drand64()*10.0-5.0; M12 = rng.drand64()*10.0-5.0; M13 = rng.drand64()*10.0-5.0; in test_symmetric_eigensystem()
115 M22 = rng.drand64()*10.0-5.0; M23 = rng.drand64()*10.0-5.0; in test_symmetric_eigensystem()
116 M33 = rng.drand64()*10.0-5.0; in test_symmetric_eigensystem()
134 …M(0,0)=rng.drand64()*10.0-5.0; M(1,0)=M(0,1)=rng.drand64()*10.0-5.0; M(2,0)=M(0,2)= rng.drand64()*… in test_symmetric_eigensystem()
135 … M(1,1)=rng.drand64()*10.0-5.0; M(2,1)=M(1,2)=rng.drand64()*10.0-5.0; in test_symmetric_eigensystem()
136 … M(2,2) = rng.drand64()*10.0-5.0; in test_symmetric_eigensystem()
H A Dtest_util.cxx10 *p = (T)rng.drand64(-1.0, +1.0); \
15 *p = std::complex<T>((T)rng.drand64(-1.0, +1.0), (T)rng.drand64(-1.0, +1.0)); \
/dports/misc/vxl/vxl-3.3.2/core/vnl/algo/tests/
H A Dtest_symmetric_eigensystem.cxx102 M11 = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
103 M12 = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
104 M13 = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
105 M22 = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
106 M23 = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
107 M33 = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
125 M(0, 0) = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
126 M(1, 0) = M(0, 1) = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
127 M(2, 0) = M(0, 2) = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
128 M(1, 1) = rng.drand64() * 10.0 - 5.0; in test_symmetric_eigensystem()
[all …]
H A Dtest_util.cxx10 …*p = (T)rng.drand64(-1.0, +1.0); …
15 …*p = std::complex<T>((T)rng.drand64(-1.0, +1.0), (T)rng.drand64(-1.0, +1.0)); …
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/VNL/src/vxl/core/vnl/
H A Dvnl_random.h122 double drand64(double a, double b);
126 double drand64(double b) {return drand64(0.0, b);} in drand64() function
130 double drand64() {return drand64(0.0, 1.0);} in drand64() function
H A Dvnl_random.cxx152 x = drand64(-1.0,1.0); in normal64()
153 y = drand64(-1.0,1.0); in normal64()
213 double vnl_random::drand64(double lower, double upper) in drand64() function in vnl_random
/dports/misc/vxl/vxl-3.3.2/core/vnl/
H A Dvnl_random.h122 double drand64(double a, double b);
126 double drand64(double b) {return drand64(0.0, b);} in drand64() function
130 double drand64() {return drand64(0.0, 1.0);} in drand64() function
H A Dvnl_random.cxx171 x = drand64(-1.0, 1.0); in normal64()
172 y = drand64(-1.0, 1.0); in normal64()
240 vnl_random::drand64(double lower, double upper) in drand64() function in vnl_random
/dports/misc/vxl/vxl-3.3.2/contrib/mul/m23d/
H A Dm23d_make_ortho_projection.cxx26 double a = r.drand64(-0.5,0.5); in m23d_make_ortho_projection()
27 double b = r.drand64(-0.5,0.5); in m23d_make_ortho_projection()
28 double c = r.drand64(-0.5,0.5); in m23d_make_ortho_projection()
35 double w=r.drand64(-1.0,1.0); in m23d_make_ortho_projection()
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mfpf/
H A Dmfpf_pose_predictor_builder.cxx95 dx=rand_.drand64(-max_disp,max_disp); in add_example()
96 dy=rand_.drand64(-max_disp,max_disp); in add_example()
109 if (i>0) A = rand_.drand64(-max_dA_,max_dA_); in add_example()
113 if (i>0) s = rand_.drand64(-max_ds,max_ds); in add_example()
119 A = rand_.drand64(-max_dA_,max_dA_); in add_example()
120 s = rand_.drand64(-max_ds,max_ds); in add_example()
/dports/misc/vxl/vxl-3.3.2/core/vpgl/algo/tests/
H A Dtest_fit_rational_cubic.cxx144 double x = 2.0 * rng.drand64() - 1.0; in test_fit_rational_cubic()
145 double y = 2.0 * rng.drand64() - 1.0; in test_fit_rational_cubic()
146 double z = 2.0 * rng.drand64() - 1.0; in test_fit_rational_cubic()
265 double x = 2.0 * rng.drand64() - 1.0; in test_fit_rational_cubic()
266 double y = 2.0 * rng.drand64() - 1.0; in test_fit_rational_cubic()
267 double z = 2.0 * rng.drand64() - 1.0; in test_fit_rational_cubic()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/VNL/src/vxl/core/vnl/examples/
H A Dvnl_svd_economy.cxx15 M.data_block()[i] = rng.drand64(-1.0,1.0); in main()
38 N.data_block()[i] = rng.drand64(-1.0,1.0); in main()
/dports/misc/vxl/vxl-3.3.2/core/vnl/examples/
H A Dvnl_svd_economy.cxx17 M.data_block()[i] = rng.drand64(-1.0, 1.0); in main()
40 N.data_block()[i] = rng.drand64(-1.0, 1.0); in main()
/dports/misc/vxl/vxl-3.3.2/contrib/rpl/rgrl/tests/
H A Dtest_scale_est.cxx55 v[0] = rand.drand64( 0.0, 10.0 ); in test_scale_est()
56 v[1] = rand.drand64( 0.0, 10.0 ); in test_scale_est()
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mbl/
H A Dmbl_stochastic_data_collector.hxx77 if (rand.drand64() < prob) in record()
116 if (rand.drand64() < prob) in store_next()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/IO/ImageBase/include/
H A DitkIOTestHelper.h133 pix = randgen.drand64(itk::NumericTraits<double>::max()); in RandomPix()
139 pix = randgen.drand64(itk::NumericTraits<float>::max()); in RandomPix()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/VNL/src/vxl/core/vnl/tests/
H A Dtest_complex.cxx22 (*p) = std::complex<double>( rng.drand64(-1.0, +1.0), rng.drand64(-1.0, +1.0) ); in fill_rand()
/dports/misc/vxl/vxl-3.3.2/core/vnl/tests/
H A Dtest_complex.cxx24 (*p) = std::complex<double>(rng.drand64(-1.0, +1.0), rng.drand64(-1.0, +1.0)); in fill_rand()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/vpgl_pro/processes/
H A Dvpgl_perturb_perspective_camera_processes.cxx110 ap.phi = (rngw->rng_.drand64(0.0, 360.0)/180.0)*vnl_math::pi; in vpgl_perturb_persp_cam_orient_process()
326 ap.theta = (rngw->rng_.drand64(0.0, kappa)/180.0)*vnl_math::pi; in vpgl_perturb_uniform_persp_cam_orient_process()
328 ap.phi = (rngw->rng_.drand64(0.0, 360.0)/180.0)*vnl_math::pi; in vpgl_perturb_uniform_persp_cam_orient_process()

123