/dports/misc/openmvg/openMVG-2.0/src/third_party/ceres-solver/internal/ceres/ |
H A D | block_sparse_matrix_test.cc | 79 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 91 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 99 B_->SquaredColumnNorm(y_b.data()); in TEST_F() 100 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 131 y_b.setZero(); in TEST_F() 135 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 151 Vector y_a, y_b; in TEST_F() local 153 y_b.resize(A_->num_rows()); in TEST_F() 158 y_b.setZero(); in TEST_F() 174 y_b.resize(A_->num_rows()); in TEST_F() [all …]
|
H A D | dense_sparse_matrix_test.cc | 60 Vector y_b = Vector::Zero(num_rows); in CompareMatrices() local 63 b->RightMultiply(x.data(), y_b.data()); in CompareMatrices() 65 EXPECT_EQ((y_a - y_b).norm(), 0); in CompareMatrices()
|
/dports/math/ceres-solver/ceres-solver-2.0.0/internal/ceres/ |
H A D | block_sparse_matrix_test.cc | 80 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 92 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 100 B_->SquaredColumnNorm(y_b.data()); in TEST_F() 101 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 132 y_b.setZero(); in TEST_F() 136 EXPECT_LT((y_a - y_b).norm(), 1e-12); in TEST_F() 152 Vector y_a, y_b; in TEST_F() local 154 y_b.resize(A_->num_rows()); in TEST_F() 159 y_b.setZero(); in TEST_F() 175 y_b.resize(A_->num_rows()); in TEST_F() [all …]
|
H A D | dense_sparse_matrix_test.cc | 61 Vector y_b = Vector::Zero(num_rows); in CompareMatrices() local 64 b->RightMultiply(x.data(), y_b.data()); in CompareMatrices() 66 EXPECT_EQ((y_a - y_b).norm(), 0); in CompareMatrices()
|
/dports/math/py-keras/Keras-2.4.3/tests/keras/ |
H A D | metrics_functional_test.py | 33 y_b = K.variable(np.random.random((6, 7))) 34 output = metric(y_a, y_b) 41 y_b = K.variable(np.random.random((6, 7)), dtype=K.floatx()) 42 assert K.eval(metric(y_a, y_b)).shape == (6,) 49 y_b = K.variable(np.random.random(y_b_shape), dtype=K.floatx()) 53 sparse_categorical_acc = metrics.sparse_categorical_accuracy(y_a, y_b) 54 categorical_acc = metrics.categorical_accuracy(y_a_dense_labels, y_b)
|
H A D | losses_test.py | 61 y_b = K.variable(np.random.random((5, 6, 7))) 62 objective_output = loss_fn(y_a, y_b) 68 y_b = K.variable(np.random.random((6, 7))) 69 objective_output = loss_fn(y_a, y_b) 74 y_b = K.variable(np.random.random((5, 6, 7))) 75 objective_output = losses.sparse_categorical_crossentropy(y_a, y_b) 79 y_b = K.variable(np.random.random((6, 7))) 155 y_b = K.variable(np.random.random((5, 6, 7))) 158 objective_output = obj_fn(y_a, y_b, sample_weight=sw) 164 y_b = K.variable(np.random.random((6, 7))) [all …]
|
/dports/science/luscus/luscus_0.8.6/ |
H A D | gv_gtk_make_graph.c | 21 double y_b; member 156 g_scale.y_b = 1.0E+6; in luscus_gtk_show_graphical_energies() 164 if (mol[i].geo_energy < g_scale.y_b) g_scale.y_b = mol[i].geo_energy; in luscus_gtk_show_graphical_energies() 171 g_lines[i].y_b = mol[i].geo_energy; in luscus_gtk_show_graphical_energies() 194 g_lines[i].y_b = mol[i].geo_energy; in luscus_gtk_show_graphical_energies() 211 g_scale.y_b = 1.0E+6; in luscus_gtk_show_vib_spectrum() 218 if (m->ir_intensity[i] < g_scale.y_b) g_scale.y_b = m->ir_intensity[i]; in luscus_gtk_show_vib_spectrum() 223 g_lines[i].y_b = 0.F; in luscus_gtk_show_vib_spectrum() 265 y_tics = find_tics(&g_scale.y_b, &g_scale.y_e); in graph_expose_event() 352 …y = pad_y + (g_lines[i].y_b - y_tics.tics_min) * (h - 2*pad_y) / (y_tics.tics_max - y_tics.tics_mi… in graph_expose_event() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/qa/pcbnew_utils/ |
H A D | board_construction_utils.cpp | 81 const auto y_b = aPos.y - aSize.y / 2; in DrawRect() local 86 const auto yin_b = y_b + aRadius; in DrawRect() 92 DrawSegment( aFootprint, { { xin_l, y_b }, { xin_r, y_b } }, aWidth, aLayer ); in DrawRect() 106 DrawArc( aFootprint, { xin_r, yin_b }, { xin_r, y_b }, 90, aWidth, aLayer ); in DrawRect()
|
/dports/devel/concurrencykit/ck-0.6.0/regressions/ck_pr/validate/ |
H A D | ck_pr_fax.c | 66 T x = 0, y = 0, x_b, y_b; \ in TEST_FAX_FN_S() 73 y_b = ck_pr_##K##_##S(&y, r); \ in TEST_FAX_FN_S() 75 if (x_b != y_b) { \ in TEST_FAX_FN_S() 79 x_b, y_b); \ in TEST_FAX_FN_S()
|
/dports/benchmarks/sysbench/sysbench-1.0.20/third_party/concurrency_kit/ck/regressions/ck_pr/validate/ |
H A D | ck_pr_fax.c | 66 T x = 0, y = 0, x_b, y_b; \ in TEST_FAX_FN_S() 73 y_b = ck_pr_##K##_##S(&y, r); \ in TEST_FAX_FN_S() 75 if (x_b != y_b) { \ in TEST_FAX_FN_S() 79 x_b, y_b); \ in TEST_FAX_FN_S()
|
/dports/net/p5-Socket-Class/Socket-Class-2.258/xs/sc_ssl/openssl/source/crypto/ecdh/ |
H A D | ecdhtest.c | 128 *x_b=NULL, *y_b=NULL; in test_ecdh_curve() local 144 if ((y_b=BN_new()) == NULL) goto err; in test_ecdh_curve() 184 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 189 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 198 BN_print(out,y_b); in test_ecdh_curve() 258 BN_print(out, y_b); in test_ecdh_curve() 293 if (y_b) BN_free(y_b); in test_ecdh_curve()
|
/dports/net/p5-Socket-Class/Socket-Class-2.258/xs/sc_ssl/openssl/source/test/ |
H A D | ecdhtest.c | 128 *x_b=NULL, *y_b=NULL; in test_ecdh_curve() local 144 if ((y_b=BN_new()) == NULL) goto err; in test_ecdh_curve() 184 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 189 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 198 BN_print(out,y_b); in test_ecdh_curve() 258 BN_print(out, y_b); in test_ecdh_curve() 293 if (y_b) BN_free(y_b); in test_ecdh_curve()
|
/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_gui/ |
H A D | wksp_map_dc.cpp | 299 void CWKSP_Map_DC::IMG_Set_Rect(int x_a, int y_a, int x_b, int y_b, int Color) in IMG_Set_Rect() argument 301 if( y_a > y_b ) { double y = y_a; y_a = y_b; y_b = y; } in IMG_Set_Rect() 303 if( y_b >= m_rDC.GetHeight() ) { y_b = m_rDC.GetHeight(); } in IMG_Set_Rect() 310 for(int y=y_a; y<y_b; y++) in IMG_Set_Rect()
|
/dports/games/blobby/blobby-1.0/data/scripts/old/ |
H A D | hyperion6.lua | 37 function y_b(y,vy,t) function 48 return y_b(v,vy,peak(y,vy)) 126 local xnew,ynew=x+vx*t,y_b(y,vy,t) 156 if (((t_net>0) and (t_net<t)) and (y_b(y,vy,t_net)<316)) then t=t_net end 171 y=y_b(y,vy,t) 181 y_ret=y_b(y,vy,t_height) 203 y=y_b(y,vy,t)
|
/dports/devel/py-gtfslib/gtfslib-1.0.0/gtfslib/ |
H A D | spatial.py | 44 y_p, y_a, y_b = map(lambda q: math.radians(q.lon()) * cos_p, [p, a, b]) 47 l2 = (x_a - x_b) * (x_a - x_b) + (y_a - y_b) * (y_a - y_b) 56 t = ((x_p - x_a) * (x_b - x_a) + (y_p - y_a) * (y_b - y_a)) / l2 64 d2 = (x_p - x_b) * (x_p - x_b) + (y_p - y_b) * (y_p - y_b) 70 yC = y_a + t * (y_b - y_a)
|
/dports/security/openssl-legacy-static/openssl-1.0.2u/crypto/ecdh/ |
H A D | ecdhtest.c | 127 BIGNUM *x_a = NULL, *y_a = NULL, *x_b = NULL, *y_b = NULL; in test_ecdh_curve() local 146 if ((y_b = BN_new()) == NULL) in test_ecdh_curve() 193 (group, EC_KEY_get0_public_key(b), x_b, y_b, ctx)) in test_ecdh_curve() 200 x_b, y_b, ctx)) in test_ecdh_curve() 211 BN_print(out, y_b); in test_ecdh_curve() 270 BN_print(out, y_b); in test_ecdh_curve() 306 if (y_b) in test_ecdh_curve() 307 BN_free(y_b); in test_ecdh_curve()
|
/dports/security/openssl-unsafe/openssl-c9ba19c/crypto/ecdh/ |
H A D | ecdhtest.c | 127 BIGNUM *x_a = NULL, *y_a = NULL, *x_b = NULL, *y_b = NULL; in test_ecdh_curve() local 146 if ((y_b = BN_new()) == NULL) in test_ecdh_curve() 193 (group, EC_KEY_get0_public_key(b), x_b, y_b, ctx)) in test_ecdh_curve() 200 x_b, y_b, ctx)) in test_ecdh_curve() 211 BN_print(out, y_b); in test_ecdh_curve() 270 BN_print(out, y_b); in test_ecdh_curve() 306 if (y_b) in test_ecdh_curve() 307 BN_free(y_b); in test_ecdh_curve()
|
/dports/math/py-colormath/colormath-3.0.0/colormath/ |
H A D | color_appearance_models.py | 281 x_b, y_b, z_b, argument 337 y_p = y_b 340 z_p = y_b 344 n_cb = 0.725 * (y_w / y_b) ** 0.2 375 xyz_b = numpy.array([x_b, y_b, z_b]) 473 z = 1 + (y_b / y_w) ** 0.5 481 1.64 - 0.29 ** (y_b / y_w)) 511 y_b = xyz_b[1] 525 d_rgb = self._f_n((y_b / y_w) * f_l * f_rgb[1]) - self._f_n((y_b / y_w) * f_l * f_rgb) 958 z = 1 + f_l * ((y_b / 100) ** 0.5) [all …]
|
/dports/devel/R-cran-future.apply/future.apply/tests/ |
H A D | future_lapply.R | 13 y_b <- lapply(x_b, FUN = future:::hpaste, collapse = "; ", maxHead = 3L) globalVar 14 str(list(y_b = y_b)) nameattr 51 stopifnot(identical(y, y_b))
|
/dports/security/libressl-static/libressl-3.3.5/tests/ |
H A D | ecdhtest.c | 103 BIGNUM *x_a = NULL, *y_a = NULL, *x_b = NULL, *y_b = NULL; in test_ecdh_curve() local 123 if ((y_b = BN_new()) == NULL) in test_ecdh_curve() 153 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 158 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 198 BN_print(out, y_b); in test_ecdh_curve() 227 BN_free(y_b); in test_ecdh_curve()
|
/dports/security/libressl/libressl-3.4.3/tests/ |
H A D | ecdhtest.c | 103 BIGNUM *x_a = NULL, *y_a = NULL, *x_b = NULL, *y_b = NULL; in test_ecdh_curve() local 123 if ((y_b = BN_new()) == NULL) in test_ecdh_curve() 153 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 158 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 198 BN_print(out, y_b); in test_ecdh_curve() 227 BN_free(y_b); in test_ecdh_curve()
|
/dports/www/obhttpd/libressl-3.4.1/tests/ |
H A D | ecdhtest.c | 103 BIGNUM *x_a = NULL, *y_a = NULL, *x_b = NULL, *y_b = NULL; in test_ecdh_curve() local 123 if ((y_b = BN_new()) == NULL) in test_ecdh_curve() 153 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 158 EC_KEY_get0_public_key(b), x_b, y_b, ctx)) goto err; in test_ecdh_curve() 198 BN_print(out, y_b); in test_ecdh_curve() 227 BN_free(y_b); in test_ecdh_curve()
|
/dports/science/chrono/chrono-7.0.1/src/chrono/motion_functions/ |
H A D | ChFunction_Integrate.cpp | 40 double x_a, x_b, y_a, y_b, F_b; in ComputeIntegral() local 50 y_b = this->fa->Get_y(x_b); in ComputeIntegral() 52 F_b = F_sum + mstep * (y_a + y_b) * 0.5; in ComputeIntegral()
|
/dports/textproc/miller/miller-5.10.2/go/reg-test/expected/ |
H A D | case-dsl-break-continue.sh.out | 1907 1 y_b pan 1927 2 y_b pan 1947 3 y_b wye 1967 4 y_b wye 1987 5 y_b pan 2007 6 y_b pan 2027 7 y_b zee 2047 8 y_b wye 2067 9 y_b wye 2087 10 y_b wye [all …]
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/ceres-solver/examples/slam/pose_graph_2d/ |
H A D | pose_graph_2d_error_term.h | 70 const T* const x_b, const T* const y_b, const T* const yaw_b, in operator() 73 const Eigen::Matrix<T, 2, 1> p_b(*x_b, *y_b); in operator()
|