/dports/math/mcsim/mcsim-6.2.0/examples/pde1/ |
H A D | pde1.model | 17 delta_x = 0.5; 21 dt(y_x_0) = -k * ((y_x_1 - y_x_0) / delta_x); 23 dt(y_x_1) = -k * ((y_x_2 - y_x_0) / (2 * delta_x)); 24 dt(y_x_2) = -k * ((y_x_3 - y_x_1) / (2 * delta_x)); 25 dt(y_x_3) = -k * ((y_x_4 - y_x_2) / (2 * delta_x)); 26 dt(y_x_4) = -k * ((y_x_5 - y_x_3) / (2 * delta_x)); 27 dt(y_x_5) = -k * ((y_x_6 - y_x_4) / (2 * delta_x)); 28 dt(y_x_6) = -k * ((y_x_7 - y_x_5) / (2 * delta_x)); 29 dt(y_x_7) = -k * ((y_x_8 - y_x_6) / (2 * delta_x)); 30 dt(y_x_8) = -k * ((y_x_9 - y_x_7) / (2 * delta_x)); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/input/ |
H A D | scroll_state_unittest.cc | 21 const float delta_x = 12.3f; in TEST_F() local 28 scroll_state_data.delta_x = delta_x; in TEST_F() 32 EXPECT_FLOAT_EQ(delta_x, scroll_state.delta_x()); in TEST_F() 37 EXPECT_FLOAT_EQ(delta_x, scroll_state.delta_x()); in TEST_F() 42 EXPECT_FLOAT_EQ(delta_x - delta_x_to_consume, scroll_state.delta_x()); in TEST_F() 47 EXPECT_FLOAT_EQ(delta_x - delta_x_to_consume, scroll_state.delta_x()); in TEST_F() 51 scroll_state.ConsumeDelta(scroll_state.delta_x(), scroll_state.delta_y()); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/input/ |
H A D | scroll_state_unittest.cc | 21 const float delta_x = 12.3f; in TEST_F() local 28 scroll_state_data.delta_x = delta_x; in TEST_F() 32 EXPECT_FLOAT_EQ(delta_x, scroll_state.delta_x()); in TEST_F() 37 EXPECT_FLOAT_EQ(delta_x, scroll_state.delta_x()); in TEST_F() 42 EXPECT_FLOAT_EQ(delta_x - delta_x_to_consume, scroll_state.delta_x()); in TEST_F() 47 EXPECT_FLOAT_EQ(delta_x - delta_x_to_consume, scroll_state.delta_x()); in TEST_F() 51 scroll_state.ConsumeDelta(scroll_state.delta_x(), scroll_state.delta_y()); in TEST_F()
|
/dports/games/uqm/uqm-0.8.0/src/uqm/planets/ |
H A D | gentopo.c | 33 SIZE x_incr, delta_x, error_term; in DeltaTopography() member 56 if (LineDDA0.delta_x >= 0) in DeltaTopography() 61 LineDDA0.delta_x = -LineDDA0.delta_x; in DeltaTopography() 63 if (LineDDA0.delta_x > delta_y) in DeltaTopography() 71 if (LineDDA1.delta_x >= 0) in DeltaTopography() 76 LineDDA1.delta_x = -LineDDA1.delta_x; in DeltaTopography() 78 if (LineDDA1.delta_x > delta_y) in DeltaTopography() 166 if (delta_y >= LineDDA0.delta_x) in DeltaTopography() 182 LineDDA0.error_term -= LineDDA0.delta_x; in DeltaTopography() 185 if (delta_y >= LineDDA1.delta_x) in DeltaTopography() [all …]
|
/dports/math/ipopt/Ipopt-3.12.13/Ipopt/src/Algorithm/ |
H A D | IpPDPerturbationHandler.cpp | 220 delta_x = 0.; in ConsiderNewSystem() 221 delta_s = delta_x; in ConsiderNewSystem() 224 delta_x_curr_ = delta_x; in ConsiderNewSystem() 229 IpData().Set_info_regu_x(delta_x); in ConsiderNewSystem() 238 Number& delta_x, Number& delta_s, in PerturbForSingularity() argument 337 delta_x = delta_x_curr_; in PerturbForSingularity() 349 Number& delta_x, Number& delta_s, in get_deltas_for_wrong_inertia() argument 381 delta_x = delta_x_curr_; in get_deltas_for_wrong_inertia() 395 Number& delta_x, Number& delta_s, in PerturbForWrongInertia() argument 424 Number& delta_x, Number& delta_s, in CurrentPerturbation() argument [all …]
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Optimizers/src/IpOpt/ |
H A D | IpPDPerturbationHandler.cpp | 197 delta_x = 0.; in ConsiderNewSystem() 198 delta_s = delta_x; in ConsiderNewSystem() 201 delta_x_curr_ = delta_x; in ConsiderNewSystem() 206 IpData().Set_info_regu_x(delta_x); in ConsiderNewSystem() 215 Number& delta_x, Number& delta_s, in PerturbForSingularity() argument 303 delta_x = delta_x_curr_; in PerturbForSingularity() 315 Number& delta_x, Number& delta_s, in get_deltas_for_wrong_inertia() argument 347 delta_x = delta_x_curr_; in get_deltas_for_wrong_inertia() 361 Number& delta_x, Number& delta_s, in PerturbForWrongInertia() argument 390 Number& delta_x, Number& delta_s, in CurrentPerturbation() argument [all …]
|
H A D | IpAugRestoSystemSolver.cpp | 64 Number delta_x, in Solve() argument 182 Number delta_xR = delta_x; in Solve() 354 Number delta_x, in Sigma_tilde_n_c_inv() argument 363 scalar_deps[0] = delta_x; in Sigma_tilde_n_c_inv() 368 if (delta_x != 0.) { in Sigma_tilde_n_c_inv() 393 Number delta_x, in Sigma_tilde_p_c_inv() argument 407 if (delta_x != 0.) { in Sigma_tilde_p_c_inv() 430 Number delta_x, in Sigma_tilde_n_d_inv() argument 444 if (delta_x != 0.) { in Sigma_tilde_n_d_inv() 467 Number delta_x, in Sigma_tilde_p_d_inv() argument [all …]
|
/dports/games/hinversi/hinversi-0.8.2/lib/ |
H A D | othello.c | 156 int delta_x, delta_y; in changeInDirection() local 157 delta_x = delta_y = 0; in changeInDirection() 161 case (DO): delta_y=0 ;delta_x=1 ; break; in changeInDirection() 163 case (RI): delta_y=1 ;delta_x=0 ; break; in changeInDirection() 167 case (DR): delta_y=1 ;delta_x=1 ; break; in changeInDirection() 172 x+=delta_x; in changeInDirection() 238 int delta_x, delta_y; in moveToDirection() local 239 delta_x = delta_y = 0; in moveToDirection() 243 case (DO): delta_y=0 ;delta_x=1 ; break; in moveToDirection() 252 x+=delta_x; in moveToDirection() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/geometry/include/pcl/geometry/ |
H A D | line_iterator.h | 175 int delta_x = x_end_ - x_start_; in init() local 178 int x_dir = ((delta_x > 0) ? 1 : -1); in init() 181 delta_x *= x_dir; in init() 184 if (delta_x >= delta_y) { in init() 186 error_max_ = delta_x - delta_y; in init() 192 error_minus_ = -(delta_x * 2); in init() 196 error_max_ = delta_x - (delta_y * 2); in init() 208 error_max_ = delta_y - delta_x; in init() 215 error_plus_ = (delta_x * 2); in init() 218 error_max_ = delta_y - (delta_x * 2); in init() [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/interior_point/tests/ |
H A D | test_interior_point.py | 165 delta_x = np.array([-1, -1, -1, -1], dtype=np.double) 173 delta_x = np.array([1, 1, 1, 1], dtype=np.double) 177 delta_x = np.array([-10, 1, -10, 1], dtype=np.double) 181 delta_x = np.array([-10, -1, -10, -1], dtype=np.double) 185 delta_x = np.array([1, -10, 1, -1], dtype=np.double) 198 delta_x = np.array([1, 1, 1, 1], dtype=np.double) 202 delta_x = np.array([10, 10, 10, 10], dtype=np.double) 206 delta_x = np.array([-1, -1, -1, -1], dtype=np.double) 210 delta_x = np.array([10, -1, 10, -1], dtype=np.double) 214 delta_x = np.array([10, 1, 10, 1], dtype=np.double) [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/misc/ |
H A D | u6_line_walker.cpp | 38 sint32 delta_x = end_x - start_x; in U6LineWalker() local 42 if (delta_x >= 0) { in U6LineWalker() 46 delta_x = -delta_x; in U6LineWalker() 58 if (delta_x < delta_y) { in U6LineWalker() 59 sint32 tmp_var = delta_x; in U6LineWalker() 60 delta_x = delta_y; in U6LineWalker() 67 max_length = delta_x; in U6LineWalker() 69 line_counter = delta_y + delta_y - delta_x; in U6LineWalker() 71 line_inc[1] = (delta_y - delta_x) * 2; in U6LineWalker()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/events/gesture_detection/ |
H A D | snap_scroll_controller_unittest.cc | 76 float delta_x = event.GetX(0); in TEST() local 78 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 83 delta_x = 5; in TEST() 85 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 90 delta_x = 100; in TEST() 92 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 115 float delta_x = event.GetX(0); in TEST() local 117 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 122 delta_x = 10; in TEST() 129 delta_x = 10; in TEST() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/events/gesture_detection/ |
H A D | snap_scroll_controller_unittest.cc | 76 float delta_x = event.GetX(0); in TEST() local 78 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 83 delta_x = 5; in TEST() 85 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 90 delta_x = 100; in TEST() 92 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 115 float delta_x = event.GetX(0); in TEST() local 117 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST() 122 delta_x = 10; in TEST() 129 delta_x = 10; in TEST() [all …]
|
/dports/math/ipopt/Ipopt-3.12.13/Ipopt/src/contrib/CGPenalty/ |
H A D | IpCGPerturbationHandler.cpp | 179 delta_x = 0.; in ConsiderNewSystem() 180 delta_s = delta_x; in ConsiderNewSystem() 183 delta_x_curr_ = delta_x; in ConsiderNewSystem() 188 IpData().Set_info_regu_x(delta_x); in ConsiderNewSystem() 197 Number& delta_x, Number& delta_s, in PerturbForSingularity() argument 319 delta_x = delta_x_curr_; in PerturbForSingularity() 331 Number& delta_x, Number& delta_s, in get_deltas_for_wrong_inertia() argument 363 delta_x = delta_x_curr_; in get_deltas_for_wrong_inertia() 377 Number& delta_x, Number& delta_s, in PerturbForWrongInertia() argument 406 Number& delta_x, Number& delta_s, in CurrentPerturbation() argument [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/ |
H A D | _hessian_update_strategy.py | 54 def update(self, delta_x, delta_grad): argument 146 def _auto_scale(self, delta_x, delta_grad): argument 150 s_norm2 = np.dot(delta_x, delta_x) 152 ys = np.abs(np.dot(delta_grad, delta_x)) 164 def update(self, delta_x, delta_grad): argument 179 if np.all(delta_x == 0.0): 200 self._update_implementation(delta_x, delta_grad) 334 w = delta_x 338 z = delta_x 412 w = delta_x [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/htmldriver/ |
H A D | polygon.c | 59 int delta_x, delta_y; in html_polygon() local 81 delta_x = x[i] - x[i + 1]; in html_polygon() 82 if (delta_x < 0) in html_polygon() 83 delta_x = -delta_x; in html_polygon() 89 (delta_x <= html.MINIMUM_DIST && delta_y <= html.MINIMUM_DIST)) { in html_polygon() 100 delta_x = x[0] - x[n - 1]; in html_polygon() 101 if (delta_x < 0) in html_polygon() 102 delta_x = -delta_x; in html_polygon() 108 (delta_x <= html.MINIMUM_DIST && delta_y <= html.MINIMUM_DIST)) { in html_polygon() 136 delta_x = max_x - min_x; in html_polygon() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/ships/urquan/ |
H A D | urquan.c | 207 SIZE delta_x, delta_y; in fighter_preprocess() local 221 else if (delta_x) in fighter_preprocess() 224 delta_x = eptr->current.location.x in fighter_preprocess() 229 delta_x = WRAP_DELTA_X (delta_x); in fighter_preprocess() 232 ANGLE_TO_FACING (ARCTAN (delta_x, delta_y)) in fighter_preprocess() 236 if (delta_x < 0) in fighter_preprocess() 237 delta_x = -delta_x; in fighter_preprocess() 253 delta_x = eptr->current.location.x in fighter_preprocess() 258 delta_x = WRAP_DELTA_X (delta_x); in fighter_preprocess() 264 && delta_x * delta_x + delta_y * delta_y < in fighter_preprocess() [all …]
|
/dports/graphics/py-pygal/pygal-2.4.0/pygal/ |
H A D | interpolate.py | 38 delta_x = [x2 - x1 for x1, x2 in zip(x, x[1:])] 40 slope = [delta_y[i] / delta_x[i] if delta_x[i] else 1 for i in range(n)] 50 c = [(slope[i] - b[i]) / delta_x[i] if delta_x[i] else 0 for i in range(n)] 54 if i == n or delta_x[i] == 0: 57 X = s * delta_x[i] / precision 159 t = (x_ - x[i]) / delta_x[i] 169 h10 * m[i] * delta_x[i] + 171 h11 * w[i + 1] * delta_x[i]) 175 if i == n or delta_x[i] == 0: 191 if i == n or delta_x[i] == 0: [all …]
|
/dports/games/tecnoballz/tecnoballz-0.93.1/src/ |
H A D | controller_magnetic_eyes.cc | 134 Sint32 delta_x = eye->finishPosx - eye->centerPosx; in move() local 135 if (delta_x < 0) in move() 137 delta_x = -delta_x; in move() 147 if (delta_y > delta_x) in move() 150 delta_y = delta_x; in move() 151 delta_x = j; in move() 154 Sint32 value = delta_y * 2 - delta_x; in move() 155 delta_x *= 2; in move() 156 j = delta_x - 1; in move() 167 value -= delta_x; in move()
|
/dports/games/xboard/xboard-4.9.1/winboard/ |
H A D | wsnap.c | 134 int delta_x = 0; in OnMoving() local 143 AdjustToSnapPoint( snapData->x_grid, snapData->x_grid_len, lprc->left, &snap_size_x, &delta_x ); in OnMoving() 144 … AdjustToSnapPoint( snapData->x_grid, snapData->x_grid_len, lprc->right, &snap_size_x, &delta_x ); in OnMoving() 149 OffsetRect( lprc, delta_x, delta_y ); in OnMoving() 157 int delta_x = 0; in OnSizing() local 175 lprc->left += delta_x; in OnSizing() 181 lprc->right += delta_x; in OnSizing() 185 lprc->left += delta_x; side = 1; loc = lprc->left; in OnSizing() 189 lprc->right += delta_x; side = 2; loc = lprc->right; in OnSizing() 199 lprc->left += delta_x; in OnSizing() [all …]
|
/dports/games/xboard-devel/xboard-f49e7e1/winboard/ |
H A D | wsnap.c | 134 int delta_x = 0; in OnMoving() local 143 AdjustToSnapPoint( snapData->x_grid, snapData->x_grid_len, lprc->left, &snap_size_x, &delta_x ); in OnMoving() 144 … AdjustToSnapPoint( snapData->x_grid, snapData->x_grid_len, lprc->right, &snap_size_x, &delta_x ); in OnMoving() 149 OffsetRect( lprc, delta_x, delta_y ); in OnMoving() 157 int delta_x = 0; in OnSizing() local 175 lprc->left += delta_x; in OnSizing() 181 lprc->right += delta_x; in OnSizing() 185 lprc->left += delta_x; side = 1; loc = lprc->left; in OnSizing() 189 lprc->right += delta_x; side = 2; loc = lprc->right; in OnSizing() 199 lprc->left += delta_x; in OnSizing() [all …]
|
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/ |
H A D | pt2_lim_calc.f | 31 & expon2,expon3,cte,a2a1,kp1,km1,delta_x,fact1,fact2,term 66 delta_x=-f/df 68 if(( dabs(delta_x/x).le.1.d-8) 69 & .or.(dabs(delta_x/1d0).le.1.d-10)) then 80 x=delta_x+x 103 delta_x=-f/df 105 if(( dabs(delta_x/x).le.1.d-8) 106 & .or.(dabs(delta_x/1d0).le.1.d-10)) then 111 x=delta_x+x
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/common/input/ |
H A D | web_mouse_wheel_event.cc | 61 GetUnacceleratedDelta(delta_x, acceleration_ratio_x) + in Coalesce() 62 GetUnacceleratedDelta(mouse_wheel_event.delta_x, in Coalesce() 68 float old_deltaX = delta_x; in Coalesce() 77 delta_x += old_deltaX; in Coalesce() 83 acceleration_ratio_x = GetAccelerationRatio(delta_x, unaccelerated_x); in Coalesce() 98 return delta_x / frame_scale_; in DeltaXInRootFrame() 107 result.delta_x /= result.frame_scale_; in FlattenTransform() 125 if (event.delta_x == 0 && (event.GetModifiers() & WebInputEvent::kShiftKey)) in GetPlatformSpecificDefaultEventAction() 129 (event.delta_x != 0 && event.delta_y == 0)) { in GetPlatformSpecificDefaultEventAction() 134 (event.delta_x == 0 && event.delta_y != 0)) { in GetPlatformSpecificDefaultEventAction()
|
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/tests/ |
H A D | test_hessian_update_strategy.py | 109 delta_x = [np.array(x_list[i+1])-np.array(x_list[i]) 114 for i in range(len(delta_x)): 115 s = delta_x[i] 127 for i in range(len(delta_x)): 128 s = delta_x[i] 170 for i in range(len(delta_x)-1): 171 s = delta_x[i] 176 s = delta_x[17] 202 for i in range(len(delta_x)-1): 203 s = delta_x[i] [all …]
|
/dports/emulators/bochs/bochs-2.7/iodev/ |
H A D | busmouse.cc | 358 ((bx_busm_c*)dev)->mouse_enq(delta_x, delta_y, delta_z, button_state); in mouse_enq_static() 364 if ((delta_x < -1) || (delta_x > 1)) in mouse_enq() 365 delta_x /= 2; in mouse_enq() 369 if (delta_x > 127) delta_x =127; in mouse_enq() 371 if (delta_x < -128) delta_x = -128; in mouse_enq() 374 BX_BUSM_THIS mouse_delayed_dx += delta_x; in mouse_enq() 405 int delta_x, delta_y; in update_mouse_data() local 409 delta_x = 127; in update_mouse_data() 412 delta_x = -128; in update_mouse_data() 415 delta_x = BX_BUSM_THIS mouse_delayed_dx; in update_mouse_data() [all …]
|