Home
last modified time | relevance | path

Searched refs:x_d (Results 1 – 25 of 165) sorted by relevance

1234567

/dports/math/stanmath/math-4.2.0/test/unit/math/rev/err/
H A Dcheck_not_nan_test.cpp62 double x_d = 0; in TEST() local
66 EXPECT_NO_THROW(check_not_nan(function, "x", x_d)) in TEST()
67 << "check_not_nan should be true with finite x: " << x_d; in TEST()
70 x_d = std::numeric_limits<double>::infinity(); in TEST()
73 EXPECT_NO_THROW(check_not_nan(function, "x", x_d)) in TEST()
74 << "check_not_nan should be true with x = Inf: " << x_d; in TEST()
77 x_d = -std::numeric_limits<double>::infinity(); in TEST()
80 EXPECT_NO_THROW(check_not_nan(function, "x", x_d)) in TEST()
81 << "check_not_nan should be true with x = -Inf: " << x_d; in TEST()
84 x_d = std::numeric_limits<double>::quiet_NaN(); in TEST()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/registration/src/
H A Dcorrespondence_rejection_organized_boundary.cpp68 for (int x_d = -window_size_ / 2; x_d <= window_size_ / 2; ++x_d) in getRemainingCorrespondences() local
70 if (x + x_d >= 0 && x + x_d < static_cast<int>(cloud->width) && y + y_d >= 0 && in getRemainingCorrespondences()
72 if (!std::isfinite((*cloud)(x + x_d, y + y_d).z) || in getRemainingCorrespondences()
73 std::fabs((*cloud)(x, y).z - (*cloud)(x + x_d, y + y_d).z) > in getRemainingCorrespondences()
/dports/math/stanmath/math-4.2.0/test/unit/math/mix/fun/
H A Dcopysign_test.cpp40 auto x_d = std::complex<double>(re1, im1); in expect_copysign() local
47 EXPECT_FLOAT_EQ(0.0, value_of_rec(copysign(x_d, y_d).real())); in expect_copysign()
48 EXPECT_FLOAT_EQ(0.0, value_of_rec(copysign(x_d, y_t).real())); in expect_copysign()
52 expect_eq_signbit(re2, copysign(x_d, y_d).real()); in expect_copysign()
53 expect_eq_signbit(re2, copysign(x_d, y_t).real()); in expect_copysign()
58 EXPECT_FLOAT_EQ(0.0, value_of_rec(copysign(x_d, y_d).imag())); in expect_copysign()
59 EXPECT_FLOAT_EQ(0.0, value_of_rec(copysign(x_d, y_t).imag())); in expect_copysign()
63 expect_eq_signbit(im2, copysign(x_d, y_d).imag()); in expect_copysign()
64 expect_eq_signbit(im2, copysign(x_d, y_t).imag()); in expect_copysign()
/dports/astro/kstars/kstars-3.5.6/packaging/android/apk/src/org/kde/kstars/math/
H A DVector2.java158 final float x_d = v.x - x; in dst() local
160 return (float)Math.sqrt(x_d * x_d + y_d * y_d); in dst()
167 final float x_d = x - this.x; in dst() local
169 return (float)Math.sqrt(x_d * x_d + y_d * y_d); in dst()
175 final float x_d = v.x - x; in dst2() local
177 return x_d * x_d + y_d * y_d; in dst2()
184 final float x_d = x - this.x; in dst2() local
186 return x_d * x_d + y_d * y_d; in dst2()
/dports/math/py-sympy/sympy-1.9/examples/intermediate/
H A Dsample.py31 x_d = x_l/float(x_n)
32 X = np.arange(float(x_min), float(x_max) + x_d, x_d)
65 x_d = x_l/float(x_n)
66 x_a = np.arange(float(x_min), float(x_max) + x_d, x_d)
/dports/www/firefox-esr/firefox-91.8.0/gfx/qcms/src/
H A Dchain.rs178 let x_d: f32 = linear_r * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
182 let r_x1: f32 = lerp(CLU(r_table, x, y, z), CLU(r_table, x_n, y, z), x_d); in transform()
247 let x_d: f32 = linear_r * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
327 let x_d: f32 = linear_x * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
334 let r_x1 = lerp(CLU(x, y, z, w), CLU(x_n, y, z, w), x_d); in transform()
335 let r_x2 = lerp(CLU(x, y_n, z, w), CLU(x_n, y_n, z, w), x_d); in transform()
337 let r_x3 = lerp(CLU(x, y, z_n, w), CLU(x_n, y, z_n, w), x_d); in transform()
338 let r_x4 = lerp(CLU(x, y_n, z_n, w), CLU(x_n, y_n, z_n, w), x_d); in transform()
342 let r_x1 = lerp(CLU(x, y, z, w_n), CLU(x_n, y, z, w_n), x_d); in transform()
343 let r_x2 = lerp(CLU(x, y_n, z, w_n), CLU(x_n, y_n, z, w_n), x_d); in transform()
[all …]
/dports/www/firefox/firefox-99.0/gfx/qcms/src/
H A Dchain.rs175 let x_d: f32 = linear_r * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
179 let r_x1: f32 = lerp(CLU(r_table, x, y, z), CLU(r_table, x_n, y, z), x_d); in transform()
244 let x_d: f32 = linear_r * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
325 let x_d: f32 = linear_x * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
332 let r_x1 = lerp(CLU(x, y, z, w), CLU(x_n, y, z, w), x_d); in transform()
333 let r_x2 = lerp(CLU(x, y_n, z, w), CLU(x_n, y_n, z, w), x_d); in transform()
335 let r_x3 = lerp(CLU(x, y, z_n, w), CLU(x_n, y, z_n, w), x_d); in transform()
336 let r_x4 = lerp(CLU(x, y_n, z_n, w), CLU(x_n, y_n, z_n, w), x_d); in transform()
340 let r_x1 = lerp(CLU(x, y, z, w_n), CLU(x_n, y, z, w_n), x_d); in transform()
341 let r_x2 = lerp(CLU(x, y_n, z, w_n), CLU(x_n, y_n, z, w_n), x_d); in transform()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/qcms/src/
H A Dchain.rs178 let x_d: f32 = linear_r * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
182 let r_x1: f32 = lerp(CLU(r_table, x, y, z), CLU(r_table, x_n, y, z), x_d); in transform()
247 let x_d: f32 = linear_r * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
327 let x_d: f32 = linear_x * (self.grid_size as i32 - 1) as f32 - x as f32; in transform() localVariable
334 let r_x1 = lerp(CLU(x, y, z, w), CLU(x_n, y, z, w), x_d); in transform()
335 let r_x2 = lerp(CLU(x, y_n, z, w), CLU(x_n, y_n, z, w), x_d); in transform()
337 let r_x3 = lerp(CLU(x, y, z_n, w), CLU(x_n, y, z_n, w), x_d); in transform()
338 let r_x4 = lerp(CLU(x, y_n, z_n, w), CLU(x_n, y_n, z_n, w), x_d); in transform()
342 let r_x1 = lerp(CLU(x, y, z, w_n), CLU(x_n, y, z, w_n), x_d); in transform()
343 let r_x2 = lerp(CLU(x, y_n, z, w_n), CLU(x_n, y_n, z, w_n), x_d); in transform()
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/devel/boost-python-libs/boost_1_72_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/databases/xtrabackup/boost_1_59_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/databases/percona57-server/boost_1_59_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/databases/percona57-client/boost_1_59_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/devel/boost-libs/boost_1_72_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/devel/hyperscan/boost_1_75_0/libs/numeric/odeint/examples/multiprecision/
H A Dcmp_precision.cpp59 double x_d = 0; in main() local
60 stepper_d.do_step( rhs_d , x_d , 1.0 , dt_d ); in main()
64 cout << abs((x_d - (sqrt(1+dt_d)-mp_50(1)/(1+dt_d)))/x_d) << endl ; in main()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/qcms/
H A Dchain.c149 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut_only() local
153 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
154 float r_x2 = lerp(CLU(r_table,x,y_n,z), CLU(r_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
156 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only()
161 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
162 float g_x2 = lerp(CLU(g_table,x,y_n,z), CLU(g_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
169 float b_x1 = lerp(CLU(b_table,x,y,z), CLU(b_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
211 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut() local
215 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut()
223 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/qcms/src/
H A Dchain.c155 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut_only() local
159 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
160 float r_x2 = lerp(CLU(r_table,x,y_n,z), CLU(r_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
162 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only()
167 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
168 float g_x2 = lerp(CLU(g_table,x,y_n,z), CLU(g_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
175 float b_x1 = lerp(CLU(b_table,x,y,z), CLU(b_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
218 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut() local
222 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut()
230 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/qcms/
H A Dchain.c149 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut_only() local
153 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
154 float r_x2 = lerp(CLU(r_table,x,y_n,z), CLU(r_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
156 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only()
161 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
162 float g_x2 = lerp(CLU(g_table,x,y_n,z), CLU(g_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
169 float b_x1 = lerp(CLU(b_table,x,y,z), CLU(b_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
211 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut() local
215 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut()
223 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/qcms/
H A Dchain.c149 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut_only() local
153 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
154 float r_x2 = lerp(CLU(r_table,x,y_n,z), CLU(r_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
156 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only()
161 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
162 float g_x2 = lerp(CLU(g_table,x,y_n,z), CLU(g_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
169 float b_x1 = lerp(CLU(b_table,x,y,z), CLU(b_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
211 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut() local
215 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut()
223 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/qcms/src/
H A Dchain.c155 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut_only() local
159 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
160 float r_x2 = lerp(CLU(r_table,x,y_n,z), CLU(r_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
162 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only()
167 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
168 float g_x2 = lerp(CLU(g_table,x,y_n,z), CLU(g_table,x_n,y_n,z), x_d); in qcms_transform_module_clut_only()
175 float b_x1 = lerp(CLU(b_table,x,y,z), CLU(b_table,x_n,y,z), x_d); in qcms_transform_module_clut_only()
218 float x_d = linear_r * (transform->grid_size-1) - x; in qcms_transform_module_clut() local
222 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); in qcms_transform_module_clut()
230 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); in qcms_transform_module_clut()
[all …]
/dports/misc/visp/visp-3.4.0/modules/core/include/visp3/core/
H A DvpPixelMeterConversion.h280 double x_d = (u - cam.u0) / cam.px, y_d = (v - cam.v0) / cam.py; in convertPointWithKannalaBrandtDistortion() local
282 double r_d = sqrt(vpMath::sqr(x_d) + vpMath::sqr(y_d)); in convertPointWithKannalaBrandtDistortion()
310 x = x_d * scale; in convertPointWithKannalaBrandtDistortion()
336 double x_d = (iP.get_u() - cam.u0) / cam.px, y_d = (iP.get_v() - cam.v0) / cam.py; in convertPointWithKannalaBrandtDistortion() local
338 double r_d = sqrt(vpMath::sqr(x_d) + vpMath::sqr(y_d)); in convertPointWithKannalaBrandtDistortion()
366 x = x_d * scale; in convertPointWithKannalaBrandtDistortion()
/dports/graphics/graphene/graphene-1.10.6/tests/
H A Dpoint.c131 float d, x_d, y_d; in point_distance() local
141 x_d = y_d = 0.f; in point_distance()
142 d = graphene_point_distance (&p, &q, &x_d, &y_d); in point_distance()
148 mutest_float_value (x_d), in point_distance()
/dports/math/stanmath/math-4.2.0/stan/math/rev/fun/
H A Dlog_softmax.hpp68 vector_d x_d = x_ref.val(); in log_softmax() local
73 vector_d diff = (x_d.array() - x_d.maxCoeff()); in log_softmax()

1234567