/dports/audio/praat/praat-6.2.03/external/gsl/ |
H A D | gsl_specfunc__bessel_temme.c | 111 const double half_x = 0.5 * x; in gsl_sf_bessel_Y_temme() local 112 const double ln_half_x = log(half_x); in gsl_sf_bessel_Y_temme() 145 ck *= -half_x*half_x/k; in gsl_sf_bessel_Y_temme() 173 const double half_x = 0.5 * x; in gsl_sf_bessel_K_scaled_temme() local 174 const double ln_half_x = log(half_x); in gsl_sf_bessel_K_scaled_temme() 202 ck *= half_x*half_x/k; in gsl_sf_bessel_K_scaled_temme()
|
/dports/math/gsl/gsl-2.7/specfunc/ |
H A D | bessel_temme.c | 111 const double half_x = 0.5 * x; in gsl_sf_bessel_Y_temme() local 112 const double ln_half_x = log(half_x); in gsl_sf_bessel_Y_temme() 145 ck *= -half_x*half_x/k; in gsl_sf_bessel_Y_temme() 173 const double half_x = 0.5 * x; in gsl_sf_bessel_K_scaled_temme() local 174 const double ln_half_x = log(half_x); in gsl_sf_bessel_K_scaled_temme() 202 ck *= half_x*half_x/k; in gsl_sf_bessel_K_scaled_temme()
|
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/ |
H A D | OrientedBox.cpp | 573 const double half_x = length[0] + reps; in intersect_ray() local 577 if ((par_pos[0] > half_x && par_dir[0] >= 0) || in intersect_ray() 578 (par_pos[0] < -half_x && par_dir[0] <= 0)) in intersect_ray() 591 if (par_pos[0] <= half_x && par_pos[0] >= -half_x && in intersect_ray() 598 <= fabs(par_dir[2] * half_x) && // test against x extents using z in intersect_ray() 604 <= fabs(par_dir[2] * half_x) && in intersect_ray() 612 <= fabs(par_dir[1] * half_x) && in intersect_ray() 618 <= fabs(par_dir[1] * half_x) && in intersect_ray() 625 if (fabs(par_dir[1] * (half_x - par_pos[0]) + par_dir[0] * par_pos[1]) in intersect_ray() 627 fabs(par_dir[2] * (half_x - par_pos[0]) + par_dir[0] * par_pos[2]) in intersect_ray() [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/examples/ |
H A D | ex_color2.c | 30 int half_x; member 124 al_draw_pixel(example.half_x * ci + example.left_x + x, in draw_range() 146 example.half_x = al_get_display_width(al_get_current_display()) / 2; in init() 207 al_draw_textf(example.font, example.white, example.half_x + example.left_x + 36, 28, 0, in redraw() 239 if (example.mx >= example.half_x) { in update() 240 mx -= example.half_x; in update() 257 int a = example.mx - example.left_x - ci * example.half_x; in update()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/lstm/ |
H A D | convolve.cpp | 31 Convolve::Convolve(const std::string &name, int ni, int half_x, int half_y) in Convolve() argument 32 : Network(NT_CONVOLVE, name, ni, ni * (2 * half_x + 1) * (2 * half_y + 1)) in Convolve() 33 , half_x_(half_x) in Convolve()
|
H A D | convolve.h | 36 Convolve(const std::string &name, int ni, int half_x, int half_y);
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/ |
H A D | vtkEncodedGradientShader.cxx | 391 double half_x, half_y, half_z; in BuildShadingTable() local 400 half_x = lx - viewDirection[0]; in BuildShadingTable() 404 mag = sqrt(static_cast<double>(half_x * half_x + half_y * half_y + half_z * half_z)); in BuildShadingTable() 408 half_x /= mag; in BuildShadingTable() 486 n_dot_h = (*(nptr + 0) * half_x + *(nptr + 1) * half_y + *(nptr + 2) * half_z); in BuildShadingTable()
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/ |
H A D | vtkEncodedGradientShader.cxx | 407 double half_x, half_y, half_z; in BuildShadingTable() local 416 half_x = lx - viewDirection[0]; in BuildShadingTable() 420 mag = sqrt( static_cast<double>(half_x*half_x + half_y*half_y in BuildShadingTable() 425 half_x /= mag; in BuildShadingTable() 508 n_dot_h = (*(nptr+0) * half_x + *(nptr+1) * half_y + *(nptr+2) * half_z); in BuildShadingTable()
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/ |
H A D | vtkEncodedGradientShader.cxx | 410 double half_x, half_y, half_z; in BuildShadingTable() local 419 half_x = lx - viewDirection[0]; in BuildShadingTable() 423 mag = sqrt( static_cast<double>(half_x*half_x + half_y*half_y in BuildShadingTable() 428 half_x /= mag; in BuildShadingTable() 514 n_dot_h = (*(nptr+0) * half_x + *(nptr+1) * half_y + *(nptr+2) * half_z); in BuildShadingTable()
|
/dports/graphics/sharpconstruct/sharpconstruct-0.11/src/ |
H A D | CreatePlane.cc | 32 const float half_x = columns_ / 2, half_y = rows_ / 2; in operator ()() local 43 …mesh.VertexLocations().push_back( Optimized::Point3D( ( j - half_x ) / ( columns_ - 1 ), ( i - hal… in operator ()()
|
/dports/science/plumed/plumed2-2.7.2/user-doc/tutorials/lugano-6a/ |
H A D | lammps-equilibration.in | 27 variable half_x equal ${blen}/2.0 28 region boxa block 0.0 ${half_x} 0.0 ${blen} 0.0 ${blen} 29 region boxb block ${half_x} ${blen} 0.0 ${blen} 0.0 ${blen}
|
/dports/graphics/geomorph/geomorph-0.60.1/src/fourier/ |
H A D | fourier.c | 141 gint i, j ,half_x, half_y, index, indexw; in convert_complex() local 149 half_x = fs->max_x>>1; in convert_complex() 188 indexw = (WRAP(i+half_y,fs->max_y)*fs->max_x)+WRAP(j+half_x,fs->max_x); in convert_complex() 446 gint x, y, i, im, half_x, half_y; in fourier_apply_filter() local 457 half_x = fs->max_x>>1; in fourier_apply_filter() 467 im = ((x+half_x)%fs->max_x) + ((y+half_y)%fs->max_y)*fs->max_x; in fourier_apply_filter() 475 im = ((x+half_x)%fs->max_x) + ((y+half_y)%fs->max_y)*fs->max_x; in fourier_apply_filter() 484 im = ((x+half_x)%fs->max_x) + ((y+half_y)%fs->max_y)*fs->max_x; in fourier_apply_filter()
|
/dports/graphics/dia/dia-0.97.3/objects/ER/ |
H A D | attribute.c | 333 real half_x, half_y; in attribute_update_data() local 345 half_x = elem->width * M_SQRT1_2 / 2.0; in attribute_update_data() 350 center.x - half_x, in attribute_update_data() 358 center.x + half_x, in attribute_update_data() 370 center.x - half_x, in attribute_update_data() 378 center.x + half_x, in attribute_update_data()
|
/dports/graphics/blender/blender-2.91.0/source/blender/windowmanager/intern/ |
H A D | wm_stereo.c | 191 const int half_x = win->sizex / 2; in wm_stereo3d_mouse_offset_apply() local 193 if (r_mouse_xy[0] > half_x) { in wm_stereo3d_mouse_offset_apply() 194 r_mouse_xy[0] -= half_x; in wm_stereo3d_mouse_offset_apply()
|
/dports/graphics/dia/dia-0.97.3/objects/standard/ |
H A D | ellipse.c | 342 real half_x, half_y; in ellipse_update_data() local 353 half_x = elem->width * M_SQRT1_2 / 2.0; in ellipse_update_data() 357 ellipse->connections[0].pos.x = center.x - half_x; in ellipse_update_data() 361 ellipse->connections[2].pos.x = center.x + half_x; in ellipse_update_data() 367 ellipse->connections[5].pos.x = center.x - half_x; in ellipse_update_data() 371 ellipse->connections[7].pos.x = center.x + half_x; in ellipse_update_data()
|
/dports/cad/gerbv/gerbv-2.7.0/src/ |
H A D | render.c | 147 int half_x, half_y; /* cache for half window dimensions */ in render_calculate_zoom_from_outline() local 164 half_x = (x1+x2)/2; in render_calculate_zoom_from_outline() 166 centerPointX = half_x/screenRenderInfo.scaleFactorX + screenRenderInfo.lowerLeftX; in render_calculate_zoom_from_outline()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/missionui/ |
H A D | missionweaponchoice.cpp | 2765 int half_x, half_y; in weapon_select_do() local 2769 gr_get_string_size(&half_x, &half_y, weapon_name); in weapon_select_do() 2770 half_x = sx +((56 - half_x) / 2); in weapon_select_do() 2772 gr_string(half_x, half_y, weapon_name, GR_RESIZE_MENU); in weapon_select_do() 2997 int half_x, half_y; in wl_render_icon() local 3001 gr_get_string_size(&half_x, &half_y, weapon_name); in wl_render_icon() 3002 half_x = x +((56 - half_x) / 2); in wl_render_icon() 3004 gr_string(half_x, half_y, weapon_name, GR_RESIZE_MENU); in wl_render_icon()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/missionui/ |
H A D | missionweaponchoice.cpp | 2741 int half_x, half_y; in weapon_select_do() local 2748 gr_get_string_size(&half_x, &half_y, print_name); in weapon_select_do() 2749 half_x = sx +((56 - half_x) / 2); in weapon_select_do() 2751 gr_string(half_x, half_y, print_name, GR_RESIZE_MENU); in weapon_select_do() 2985 int half_x, half_y; in wl_render_icon() local 2992 gr_get_string_size(&half_x, &half_y, print_name); in wl_render_icon() 2993 half_x = x +((56 - half_x) / 2); in wl_render_icon() 2995 gr_string(half_x, half_y, print_name, GR_RESIZE_MENU); in wl_render_icon()
|
/dports/science/py-dipy/dipy-1.4.1/dipy/core/tests/ |
H A D | test_geometry.py | 132 half_x = x[:n2+1] 134 half_dists = np.sqrt(np.diff(half_x)**2 + np.diff(half_y)**2)
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/lab/ |
H A D | wmcgui.cpp | 1657 int half_x, half_y; in DoDraw() local 1658 gr_get_string_size(&half_x, &half_y, Caption.c_str()); in DoDraw() 1659 half_x = Coords[0] +(((Coords[2]-Coords[0]) - half_x) / 2); in DoDraw() 1661 gr_string(half_x, half_y + 1, Caption.c_str(), GR_RESIZE_NONE); in DoDraw()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/lab/ |
H A D | wmcgui.cpp | 1633 int half_x, half_y; in DoDraw() local 1634 gr_get_string_size(&half_x, &half_y, Caption.c_str()); in DoDraw() 1635 half_x = Coords[0] +(((Coords[2]-Coords[0]) - half_x) / 2); in DoDraw() 1637 gr_string(half_x, half_y, Caption.c_str(), GR_RESIZE_NONE); in DoDraw()
|
/dports/x11-fm/nemo/nemo-4.8.3/src/ |
H A D | nemo-icon-view-grid-container.c | 1185 gint half_x, half_y; in should_place_before() local 1187 half_x = rect->x + (rect->width / 2); in should_place_before() 1191 return x < half_x; in should_place_before()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/keypoints/src/ |
H A D | narf_keypoint.cpp | 308 int half_x = std::min (x/2, int (half_range_image.width)-1), in calculateCompleteInterestImage() local 310 interest_value = half_interest_image[half_y*half_range_image.width + half_x]; in calculateCompleteInterestImage()
|
/dports/astro/pp3/pp3-1.3.3/ |
H A D | pp3.cc | 1437 const double half_x= nebulae[i].diameter_x/2.0; in draw_nebulae() local 1440 half_x*cos_angle/15.0*r_scale; in draw_nebulae() 1442 half_x*sin_angle; in draw_nebulae() 1448 half_x*cos_angle/15.0*r_scale; in draw_nebulae() 1450 half_x*sin_angle; in draw_nebulae()
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/common/ |
H A D | utils.c | 1874 double half_x = max.x - center.x; in get_gradient_points() local 1886 G[0].x = center.x - half_x * cosa; in get_gradient_points() 1887 G[1].x = center.x + half_x * cosa; in get_gradient_points()
|