Home
last modified time | relevance | path

Searched refs:halfx (Results 1 – 25 of 65) sorted by relevance

123

/dports/science/kst2/kst-plot-38eddb5322a1d557f9d86ea95d456d76272941e3/old_datasources/healpix/
H A Dhealpix_tools_proj.cpp91 double halfx; in healpix_proj_sin() local
132 halfx = ((maxphi - minphi) / 2.0) * cos(-(centtheta - HEALPIX_PI / 2.0)); in healpix_proj_sin()
138 halfx = in healpix_proj_sin()
172 if ((tempx > halfx) || (tempx < -halfx)) { in healpix_proj_sin()
178 (*x) = (xmax / 2.0) * ((tempx / halfx) + 1.0); in healpix_proj_sin()
231 double halfx; in healpix_proj_rev_sin() local
287 halfx = ((maxphi - minphi) / 2.0) * cos(-(centtheta - HEALPIX_PI / 2.0)); in healpix_proj_rev_sin()
293 halfx = in healpix_proj_rev_sin()
300 ph = ((2.0 * x / xmax - 1.0) * halfx) / (cos(-(th - HEALPIX_PI / 2.0))); in healpix_proj_rev_sin()
/dports/graphics/blender/blender-2.91.0/source/blender/windowmanager/intern/
H A Dwm_stereo.c83 const float halfx = GLA_PIXEL_OFS / sizex; in wm_stereo3d_draw_sidebyside() local
90 immAttr2f(texcoord, halfx, halfy); in wm_stereo3d_draw_sidebyside()
93 immAttr2f(texcoord, 1.0f + halfx, halfy); in wm_stereo3d_draw_sidebyside()
96 immAttr2f(texcoord, 1.0f + halfx, 1.0f + halfy); in wm_stereo3d_draw_sidebyside()
99 immAttr2f(texcoord, halfx, 1.0f + halfy); in wm_stereo3d_draw_sidebyside()
127 const float halfx = GLA_PIXEL_OFS / sizex; in wm_stereo3d_draw_topbottom() local
134 immAttr2f(texcoord, halfx, halfy); in wm_stereo3d_draw_topbottom()
137 immAttr2f(texcoord, 1.0f + halfx, halfy); in wm_stereo3d_draw_topbottom()
140 immAttr2f(texcoord, 1.0f + halfx, 1.0f + halfy); in wm_stereo3d_draw_topbottom()
143 immAttr2f(texcoord, halfx, 1.0f + halfy); in wm_stereo3d_draw_topbottom()
/dports/graphics/geomview/geomview-1.9.5/src/lib/gprim/discgrp/
H A Ddgdraw.c46 float halfy, aspect, halfx; in DiscGrpStandardPreDraw() local
64 halfx = aspect * halfy; in DiscGrpStandardPreDraw()
67 halfx = (halfx > halfy) ? halfx : halfy; in DiscGrpStandardPreDraw()
68 halfy = halfx; in DiscGrpStandardPreDraw()
74 INITPT(&discgrp->viewinfo.frustrum[0], -1, 0, halfx, 0) in DiscGrpStandardPreDraw()
75 INITPT(&discgrp->viewinfo.frustrum[1], 1, 0, halfx, 0) in DiscGrpStandardPreDraw()
/dports/emulators/hugo/hugo-2.12/
H A Dmenu.h19 int halfx, halfy; variable
117 halfx = io.screen_w/2; in create_menu()
122 menu.x = halfx - half_let; in create_menu()
149 for (i=halfx-half_let; i<halfx+half_let+1; i++) { in create_menu()
152 i == halfx - half_let || i == halfx + half_let ) in create_menu()
/dports/math/R/R-4.1.2/src/nmath/
H A Dbessel_i.c233 double pold, test, p, em, en, empal, emp2al, halfx, in I_bessel() local
489 halfx = .5 * *x; in I_bessel()
492 halfx = .5 * *x; in I_bessel()
494 halfx = 0.; in I_bessel()
497 aa = pow(halfx, nu) / Rf_gamma_cody(empal); in I_bessel()
500 bb = halfx * halfx; in I_bessel()
512 cc = halfx; in I_bessel()
H A Dbessel_j.c237 double p, s, t, z, alpem, halfx, aa, bb, cc, psave, plast; in J_bessel() local
279 halfx = (*x > enmten_BESS) ? .5 * *x : 0.; in J_bessel()
280 aa = (nu != 0.) ? pow(halfx, nu) / (nu * Rf_gamma_cody(nu)) : 1.; in J_bessel()
281 bb = (*x + 1. > 1.)? -halfx * halfx : 0.; in J_bessel()
299 cc = halfx; in J_bessel()
/dports/math/libRmath/R-4.1.1/src/nmath/
H A Dbessel_i.c233 double pold, test, p, em, en, empal, emp2al, halfx, in I_bessel() local
489 halfx = .5 * *x; in I_bessel()
492 halfx = .5 * *x; in I_bessel()
494 halfx = 0.; in I_bessel()
497 aa = pow(halfx, nu) / Rf_gamma_cody(empal); in I_bessel()
500 bb = halfx * halfx; in I_bessel()
512 cc = halfx; in I_bessel()
H A Dbessel_j.c237 double p, s, t, z, alpem, halfx, aa, bb, cc, psave, plast; in J_bessel() local
279 halfx = (*x > enmten_BESS) ? .5 * *x : 0.; in J_bessel()
280 aa = (nu != 0.) ? pow(halfx, nu) / (nu * Rf_gamma_cody(nu)) : 1.; in J_bessel()
281 bb = (*x + 1. > 1.)? -halfx * halfx : 0.; in J_bessel()
299 cc = halfx; in J_bessel()
/dports/math/jags/JAGS-4.3.0/src/jrmath/
H A Dbessel_i.c233 double pold, test, p, em, en, empal, emp2al, halfx, in I_bessel() local
489 halfx = .5 * *x; in I_bessel()
492 halfx = .5 * *x; in I_bessel()
494 halfx = 0.; in I_bessel()
497 aa = pow(halfx, nu) / jags_gamma_cody(empal); in I_bessel()
500 bb = halfx * halfx; in I_bessel()
512 cc = halfx; in I_bessel()
H A Dbessel_j.c237 double p, s, t, z, alpem, halfx, aa, bb, cc, psave, plast; in J_bessel() local
279 halfx = (*x > enmten_BESS) ? .5 * *x : 0.; in J_bessel()
280 aa = (nu != 0.) ? pow(halfx, nu) / (nu * jags_gamma_cody(nu)) : 1.; in J_bessel()
281 bb = (*x + 1. > 1.)? -halfx * halfx : 0.; in J_bessel()
299 cc = halfx; in J_bessel()
/dports/biology/vt/vt-0.57721/lib/Rmath/
H A Dbessel_i.c233 double pold, test, p, em, en, empal, emp2al, halfx, in I_bessel() local
489 halfx = .5 * *x; in I_bessel()
492 halfx = .5 * *x; in I_bessel()
494 halfx = 0.; in I_bessel()
497 aa = pow(halfx, nu) / gamma_cody(empal); in I_bessel()
500 bb = halfx * halfx; in I_bessel()
512 cc = halfx; in I_bessel()
H A Dbessel_j.c228 double p, s, t, z, alpem, halfx, aa, bb, cc, psave, plast; in J_bessel() local
270 halfx = (*x > enmten_BESS) ? .5 * *x : 0.; in J_bessel()
271 aa = (nu != 0.) ? pow(halfx, nu) / (nu * gamma_cody(nu)) : 1.; in J_bessel()
272 bb = (*x + 1. > 1.)? -halfx * halfx : 0.; in J_bessel()
290 cc = halfx; in J_bessel()
/dports/math/py-rvlib/rvlib-0.0.6/src/
H A Dbessel_i.c233 double pold, test, p, em, en, empal, emp2al, halfx, in I_bessel() local
489 halfx = .5 * *x; in I_bessel()
492 halfx = .5 * *x; in I_bessel()
494 halfx = 0.; in I_bessel()
497 aa = pow(halfx, nu) / Rf_gamma_cody(empal); in I_bessel()
500 bb = halfx * halfx; in I_bessel()
512 cc = halfx; in I_bessel()
H A Dbessel_j.c237 double p, s, t, z, alpem, halfx, aa, bb, cc, psave, plast; in J_bessel() local
279 halfx = (*x > enmten_BESS) ? .5 * *x : 0.; in J_bessel()
280 aa = (nu != 0.) ? pow(halfx, nu) / (nu * Rf_gamma_cody(nu)) : 1.; in J_bessel()
281 bb = (*x + 1. > 1.)? -halfx * halfx : 0.; in J_bessel()
299 cc = halfx; in J_bessel()
/dports/graphics/freeglut/freeglut-3.2.1/progs/demos/spaceball/
H A Dspaceball.c127 float halfx = halfy * aspect; in reshape() local
133 glFrustum(-halfx, halfx, -halfy, halfy, 1.0, 1000.0); in reshape()
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/freeglut/progs/demos/spaceball/
H A Dspaceball.c127 float halfx = halfy * aspect; in reshape() local
133 glFrustum(-halfx, halfx, -halfy, halfy, 1.0, 1000.0); in reshape()
/dports/graphics/Coin/coin-Coin-4.0.0/src/draggers/
H A DSoTabPlaneDragger.cpp446 float halfx = sizex * 0.5f; in reallyAdjustScaleTabSize() local
453 coords[0].setValue(halfx, 1.0f, Z_OFFSET); in reallyAdjustScaleTabSize()
454 coords[1].setValue(-halfx, 1.0f, Z_OFFSET); in reallyAdjustScaleTabSize()
455 coords[2].setValue(-halfx, 1.0f-sizey, Z_OFFSET); in reallyAdjustScaleTabSize()
456 coords[3].setValue(halfx, 1.0f-sizey, Z_OFFSET); in reallyAdjustScaleTabSize()
463 coords[8].setValue(-halfx, -1.0f, Z_OFFSET); in reallyAdjustScaleTabSize()
464 coords[9].setValue(halfx, -1.0f, Z_OFFSET); in reallyAdjustScaleTabSize()
465 coords[10].setValue(halfx, -1.0f+sizey, Z_OFFSET); in reallyAdjustScaleTabSize()
466 coords[11].setValue(-halfx, -1.0f+sizey, Z_OFFSET); in reallyAdjustScaleTabSize()
/dports/multimedia/oggvideotools/oggvideotools-0.9.1/src/libresample/
H A Dfilterkit.c69 double sum, u, halfx, temp; in Izero() local
73 halfx = x/2.0; in Izero()
75 temp = halfx/(double)n; in Izero()
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/special/
H A DBesselJ.java280 double halfx = 0; in rjBesl() local
282 halfx = 0.5 * x; in rjBesl()
285 tempa = FastMath.pow(halfx, alpha) / in rjBesl()
290 tempb = -halfx * halfx; in rjBesl()
305 tempc = halfx; in rjBesl()
/dports/audio/dragonfly-reverb-lv2/dragonfly-reverb-3.2.5/common/freeverb/
H A Dfirwindow.cpp81 fv3_float_t n, a, halfx, sum; in FV3_() local
82 halfx = x / 2.0; in FV3_()
87 a *= halfx; in FV3_()
/dports/multimedia/mencoder/mplayer-export-2021-12-29/libaf/
H A Dwindow.c161 FLOAT_TYPE halfx = x/2.0; in besselizero() local
165 temp = halfx/(FLOAT_TYPE)n; in besselizero()
/dports/multimedia/mplayer/mplayer-export-2021-12-29/libaf/
H A Dwindow.c161 FLOAT_TYPE halfx = x/2.0; in besselizero() local
165 temp = halfx/(FLOAT_TYPE)n; in besselizero()
/dports/science/simbody/simbody-Simbody-3.7/Simbody/Visualizer/simbody-visualizer/
H A Dsimbody-visualizer.cpp532 const float halfx = 1; in makeBox() local
542 addVec(vertices, -halfx, halfy, halfz); in makeBox()
551 addVec(vertices, halfx, halfy, halfz); in makeBox()
552 addVec(vertices, halfx, -halfy, halfz); in makeBox()
554 addVec(vertices, halfx, halfy, -halfz); in makeBox()
564 addVec(vertices, halfx, -halfy, halfz); in makeBox()
573 addVec(vertices, halfx, halfy, halfz); in makeBox()
574 addVec(vertices, halfx, halfy, -halfz); in makeBox()
576 addVec(vertices, -halfx, halfy, halfz); in makeBox()
586 addVec(vertices, halfx, halfy, -halfz); in makeBox()
[all …]
/dports/audio/gnuspeechsa/gnuspeechsa-0.1.5/src/trm/
H A DSampleRateConverter.cpp146 double sum, u, halfx, temp; in Izero() local
150 halfx = x / 2.0; in Izero()
153 temp = halfx / (double) n; in Izero()
/dports/multimedia/libxine/xine-lib-1.2.11/src/post/audio/
H A Dwindow.c153 _ftype_t halfx = x/2.0; in besselizero() local
157 temp = halfx/(_ftype_t)n; in besselizero()

123