/dports/lang/kturtle/kturtle-21.12.3/src/ |
H A D | directiondialog.cpp | 146 double DirectionCanvas::translateMouseCoords(double trans_x, double trans_y) in translateMouseCoords() argument 153 if (trans_x >= 0 && trans_y >= 0) { in translateMouseCoords() 155 double arc_tan = trans_y / trans_x; in translateMouseCoords() 157 } else if (trans_x <= 0 && trans_y >= 0) { in translateMouseCoords() 159 trans_x = trans_x * -1; in translateMouseCoords() 160 double arc_tan = trans_y / trans_x; in translateMouseCoords() 162 } else if (trans_x >= 0 && trans_y <= 0) { in translateMouseCoords() 165 double arc_tan = trans_y / trans_x; in translateMouseCoords() 167 } else if (trans_x <= 0 && trans_y <= 0) { in translateMouseCoords() 169 trans_x = trans_x * -1; in translateMouseCoords() [all …]
|
/dports/science/py-chainer/chainer-7.8.0/chainer/links/loss/ |
H A D | crf1d.py | 59 trans_x = transpose_sequence.transpose_sequence(xs) 61 loss = crf1d.crf1d(self.cost, trans_x, trans_y, reduce) 88 trans_x = transpose_sequence.transpose_sequence(xs) 89 score, path = crf1d.argmax_crf1d(self.cost, trans_x)
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/libweston/ |
H A D | zoom.c | 95 output->zoom.trans_x = x - output->width / 2; in weston_output_update_zoom_transform() 98 if (output->zoom.trans_x < 0) in weston_output_update_zoom_transform() 99 output->zoom.trans_x = 0; in weston_output_update_zoom_transform() 102 if (output->zoom.trans_x > level * output->width) in weston_output_update_zoom_transform() 103 output->zoom.trans_x = level * output->width; in weston_output_update_zoom_transform() 177 output->zoom.trans_x = 0.0; in weston_output_init_zoom()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/libweston/ |
H A D | zoom.c | 95 output->zoom.trans_x = x - output->width / 2; in weston_output_update_zoom_transform() 98 if (output->zoom.trans_x < 0) in weston_output_update_zoom_transform() 99 output->zoom.trans_x = 0; in weston_output_update_zoom_transform() 102 if (output->zoom.trans_x > level * output->width) in weston_output_update_zoom_transform() 103 output->zoom.trans_x = level * output->width; in weston_output_update_zoom_transform() 177 output->zoom.trans_x = 0.0; in weston_output_init_zoom()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/tracking/include/pcl/tracking/impl/ |
H A D | tracking.hpp | 126 float trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw; in toState() local 128 trans, trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw); in toState() 129 return {trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw}; in toState() 292 float trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw; in toState() local 294 trans, trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw); in toState() 458 float trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw; in toState() local 460 trans, trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw); in toState() 462 trans_x, 0, trans_z, trans_roll, trans_pitch, trans_yaw)); in toState() 625 float trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw; in toState() local 627 trans, trans_x, trans_y, trans_z, trans_roll, trans_pitch, trans_yaw); in toState() [all …]
|
/dports/graphics/weston/weston-1.9.0/src/ |
H A D | zoom.c | 99 output->zoom.trans_x = global_x - output->width / 2; in weston_output_update_zoom_transform() 102 if (output->zoom.trans_x < 0) in weston_output_update_zoom_transform() 103 output->zoom.trans_x = 0; in weston_output_update_zoom_transform() 106 if (output->zoom.trans_x > level * output->width) in weston_output_update_zoom_transform() 107 output->zoom.trans_x = level * output->width; in weston_output_update_zoom_transform() 178 output->zoom.trans_x = 0.0; in weston_output_init_zoom()
|
/dports/graphics/R-cran-ggplot2/ggplot2/man/ |
H A D | transform_position.Rd | 7 transform_position(df, trans_x = NULL, trans_y = NULL, ...) 10 \item{trans_x, trans_y}{Transformation functions for x and y aesthetics. 13 \item{...}{Additional arguments passed to \code{trans_x} and \code{trans_y}.}
|
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/ops/ |
H A D | clifford_gate_test.py | 32 trans_x = gate.transform(cirq.X) 36 trans_x.flip ^ trans_y.flip ^ trans_z.flip ^ (trans_x.to.relative_index(trans_y.to) != 1) 42 trans_x = gate.transform(cirq.X) 45 assert trans_x.to != trans_y.to, 'Collision' 47 assert trans_z.to != trans_x.to, 'Collision' 66 for trans_x, trans_z in _all_rotation_pairs(): 77 def test_init_from_xz(trans_x, trans_z): argument 79 assert gate.transform(cirq.X) == trans_x 314 for trans_x, trans_z in _all_rotation_pairs(): 563 def test_to_phased_xz_gate(trans_x, trans_z): argument [all …]
|
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/ops/ |
H A D | clifford_gate_test.py | 32 trans_x = gate.transform(cirq.X) 36 trans_x.flip ^ trans_y.flip ^ trans_z.flip ^ (trans_x.to.relative_index(trans_y.to) != 1) 42 trans_x = gate.transform(cirq.X) 45 assert trans_x.to != trans_y.to, 'Collision' 47 assert trans_z.to != trans_x.to, 'Collision' 66 for trans_x, trans_z in _all_rotation_pairs(): 77 def test_init_from_xz(trans_x, trans_z): argument 79 assert gate.transform(cirq.X) == trans_x 314 for trans_x, trans_z in _all_rotation_pairs(): 563 def test_to_phased_xz_gate(trans_x, trans_z): argument [all …]
|
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/ops/ |
H A D | clifford_gate_test.py | 32 trans_x = gate.transform(cirq.X) 36 trans_x.flip ^ trans_y.flip ^ trans_z.flip ^ (trans_x.to.relative_index(trans_y.to) != 1) 42 trans_x = gate.transform(cirq.X) 45 assert trans_x.to != trans_y.to, 'Collision' 47 assert trans_z.to != trans_x.to, 'Collision' 66 for trans_x, trans_z in _all_rotation_pairs(): 77 def test_init_from_xz(trans_x, trans_z): argument 79 assert gate.transform(cirq.X) == trans_x 314 for trans_x, trans_z in _all_rotation_pairs(): 563 def test_to_phased_xz_gate(trans_x, trans_z): argument [all …]
|
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/ops/ |
H A D | clifford_gate_test.py | 32 trans_x = gate.transform(cirq.X) 36 trans_x.flip ^ trans_y.flip ^ trans_z.flip ^ (trans_x.to.relative_index(trans_y.to) != 1) 42 trans_x = gate.transform(cirq.X) 45 assert trans_x.to != trans_y.to, 'Collision' 47 assert trans_z.to != trans_x.to, 'Collision' 66 for trans_x, trans_z in _all_rotation_pairs(): 77 def test_init_from_xz(trans_x, trans_z): argument 79 assert gate.transform(cirq.X) == trans_x 314 for trans_x, trans_z in _all_rotation_pairs(): 563 def test_to_phased_xz_gate(trans_x, trans_z): argument [all …]
|
/dports/graphics/R-cran-ggplot2/ggplot2/R/ |
H A D | position-.r | 77 transform_position <- function(df, trans_x = NULL, trans_y = NULL, ...) { argument 83 if (!is.null(trans_x)) { 84 df[scales == "x"] <- lapply(df[scales == "x"], trans_x, ...)
|
H A D | position-jitterdodge.R | 71 trans_x <- if (params$jitter.width > 0) function(x) jitter(x, amount = params$jitter.width) functionVar 74 data <- with_seed_null(params$seed, transform_position(data, trans_x, trans_y))
|
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/ops/ |
H A D | clifford_gate_test.py | 32 trans_x = gate.transform(cirq.X) 36 trans_x.flip ^ trans_y.flip ^ trans_z.flip ^ (trans_x.to.relative_index(trans_y.to) != 1) 42 trans_x = gate.transform(cirq.X) 45 assert trans_x.to != trans_y.to, 'Collision' 47 assert trans_z.to != trans_x.to, 'Collision' 66 for trans_x, trans_z in _all_rotation_pairs(): 77 def test_init_from_xz(trans_x, trans_z): argument 78 gate = cirq.SingleQubitCliffordGate.from_xz_map(trans_x, trans_z) 79 assert gate.transform(cirq.X) == trans_x 314 for trans_x, trans_z in _all_rotation_pairs(): [all …]
|
/dports/databases/grass7/grass-7.8.6/misc/m.nviz.image/ |
H A D | cplane.c | 31 float trans_x, trans_y, trans_z; in draw_cplane() local 44 trans_x = atof(params->cplane_pos->answers[i * 3 + 0]); in draw_cplane() 47 Nviz_set_cplane_translation(data, id, trans_x, trans_y, trans_z); in draw_cplane()
|
/dports/x11-toolkits/soqt/soqt/src/Inventor/Qt/devices/ |
H A D | 6DOFEvents.cpp | 45 this->trans_x = 0.0f; in SoQt6dofDevicePressureEvent() 56 this->trans_x = x; in setTranslation() 66 x = this->trans_x; in getTranslation()
|
/dports/games/openomf/openomf-c36c421/src/game/protos/ |
H A D | player.c | 426 int trans_x = 0, trans_y = 0; in player_run() local 433 trans_x = sd_script_get(frame, "x-") * -1 * object_get_direction(obj); in player_run() 435 trans_x = sd_script_get(frame, "x+") * object_get_direction(obj); in player_run() 441 …DEBUG("BE tag with x/y offsets: %d %d %d %d", trans_x, trans_y, object_get_direction(obj), object_… in player_run() 442 …G("enemy x %d modified trans_x: %d (%d * %d *%d)", state->enemy->pos.x, (trans_x * object_get_dire… in player_run() 444 …obj->pos.x = state->enemy->pos.x + (trans_x * object_get_direction(obj) * object_get_direction(sta… in player_run() 461 if(trans_x || trans_y) { in player_run() 463 obj->vel.x += trans_x; in player_run() 469 obj->enemy_slide_state.dest.x = trans_x; in player_run() 473 obj->slide_state.vel.x = (float)trans_x; in player_run()
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/opimage/ |
H A D | ScaleCRIF.java | 208 float trans_x = paramBlock.getFloatParameter(2); in mapRenderContext() local 212 trans_x, trans_y); in mapRenderContext() 231 float trans_x = paramBlock.getFloatParameter(2); in getBounds2D() local 242 float d_x0 = x0 * scale_x + trans_x; in getBounds2D()
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Minkowski_sum_2/ |
H A D | Exact_offset_base_2.h | 129 Algebraic trans_x, trans_y; // The translation vector. in _offset_polygon() local 177 trans_x = nt_traits.convert (r * delta_y) / len; in _offset_polygon() 182 op1 = Alg_point_2 (nt_traits.convert (x1) + trans_x, in _offset_polygon() 223 op2 = Alg_point_2 (nt_traits.convert (x2) + trans_x, in _offset_polygon()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bxml/bsvg/ |
H A D | bsvg_element.cxx | 14 void bsvg_element::set_transformation(float trans_x, float trans_y, float rot) in set_transformation() argument 17 trans << "translate(" << trans_x << ',' << trans_y << ") rotate(" << rot << ')'; in set_transformation() 21 void bsvg_element::set_location(float trans_x, float trans_y) in set_location() argument 24 trans << "translate(" << trans_x << ',' << trans_y << ") "; in set_location()
|
/dports/deskutils/xmdiary/xmdiary-3.0.3/xtools/ |
H A D | xitWinInfo.c | 85 int trans_x; in xitFetchWindowInfo() local 196 0, 0, &trans_x, &trans_y, &child ); in xitFetchWindowInfo() 198 win_info.pos_x = trans_x - border_width; in xitFetchWindowInfo()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/pyscripts/ |
H A D | ihog_adaptor.py | 20 trans_x = batch.get_output_double(id) 23 return (trans_x, trans_y)
|
/dports/games/warmux/warmux-11.04/src/tool/ |
H A D | affine_transform.cpp | 59 void AffineTransform2D::SetTranslation(Double trans_x, Double trans_y) in SetTranslation() argument 62 xt = trans_x; in SetTranslation() 146 AffineTransform2D AffineTransform2D::Translate(Double trans_x, Double trans_y) in Translate() argument 149 tmp.SetTranslation(trans_x, trans_y); in Translate()
|
H A D | affine_transform.h | 40 void SetTranslation(Double trans_x, Double trans_y); 58 static AffineTransform2D Translate(Double trans_x, Double trans_y);
|
/dports/games/spring/spring_98.0/rts/lib/assimp/code/ |
H A D | LWOAnimation.cpp | 64 trans_x = trans_y = trans_z = NULL; in AnimResolver() 81 trans_x = &*it;break; in AnimResolver() 233 if (trans_x) translation.x = trans_x->keys[0].value; in ExtractBindPose() 537 …const bool trans = ((trans_x && trans_x->keys.size() > 1) || (trans_y && trans_y->keys.size() > 1)… in ExtractAnimChannel() 555 GetKeys(keys,trans_x,trans_y,trans_z,flags); in ExtractAnimChannel()
|