/dports/audio/praat/praat-6.2.03/external/gsl/ |
H A D | gsl_specfunc__airy.c | 248 double sqx; in airy_mod_phase() local 271 sqx = sqrt(-x); in airy_mod_phase() 273 mod->val = sqrt(m/sqx); in airy_mod_phase() 275 phase->val = M_PI_4 - x*sqx * p; in airy_mod_phase() 617 double sqx = sqrt(x); in airy_aie() local 618 double z = 2.0/(x*sqx) - 1.0; in airy_aie() 619 double y = sqrt(sqx); in airy_aie() 634 double sqx = sqrt(x); in airy_bie() local 636 double y = sqrt(sqx); in airy_bie() 643 double sqx = sqrt(x); in airy_bie() local [all …]
|
/dports/math/gsl/gsl-2.7/specfunc/ |
H A D | airy.c | 248 double sqx; in airy_mod_phase() local 271 sqx = sqrt(-x); in airy_mod_phase() 273 mod->val = sqrt(m/sqx); in airy_mod_phase() 275 phase->val = M_PI_4 - x*sqx * p; in airy_mod_phase() 617 double sqx = sqrt(x); in airy_aie() local 618 double z = 2.0/(x*sqx) - 1.0; in airy_aie() 619 double y = sqrt(sqx); in airy_aie() 634 double sqx = sqrt(x); in airy_bie() local 636 double y = sqrt(sqx); in airy_bie() 643 double sqx = sqrt(x); in airy_bie() local [all …]
|
/dports/math/symengine/symengine-0.8.1/symengine/tests/basic/ |
H A D | test_solve.cpp | 94 auto sqx = mul(x, x); variable 119 poly = add(sqx, one); 123 poly = add(add(sqx, mul(im2, x)), one); 127 poly = sub(add(div(sqx, i3), x), div(i2, integer(5))); 137 poly = add(sqx, mul(x, i2)); 141 poly = add(sqx, sub(mul(integer(8), x), integer(5))); 155 soln = solve(add({sqx, mul(b, x), c}), x); 160 soln = solve(add({sqx, mul(i3, x), c}), x); 164 soln = solve(add({sqx, mul({i3, b, x}), c}), x); 188 auto sqx = mul(x, x), cbx = mul(sqx, x), qx = mul(cbx, x); variable [all …]
|
/dports/games/spring/spring_98.0/rts/Map/SMF/ |
H A D | SMFRenderState.h | 29 virtual void SetSquareTexGen(const int sqx, const int sqy) const = 0; 44 void SetSquareTexGen(const int sqx, const int sqy) const; 57 void SetSquareTexGen(const int sqx, const int sqy) const; 85 void SetSquareTexGen(const int sqx, const int sqy) const;
|
/dports/print/lilypond-devel/lilypond-2.23.5/lily/ |
H A D | least-squares.cc | 32 Real sqx = 0.0; in minimise_least_squares() local 41 sqx += sqr (x); in minimise_least_squares() 50 Real den = (count * sqx - sqr (sx)); in minimise_least_squares()
|
/dports/print/lilypond/lilypond-2.22.1/lily/ |
H A D | least-squares.cc | 32 Real sqx = 0.0; in minimise_least_squares() local 41 sqx += sqr (x); in minimise_least_squares() 50 Real den = (count * sqx - sqr (sx)); in minimise_least_squares()
|
/dports/math/unuran/unuran-1.8.1/src/methods/ |
H A D | tdr_gw_sample.ch | 172 if (V <= sqx) 200 sqx = (iv->Asqueeze > 0.) ? 1./(Tsqx*Tsqx) : 0.; 201 if (V <= sqx) 294 if (_unur_FP_less(fx,sqx)) { 302 _unur_tdr_gw_debug_sample( gen, iv, pt, X, fx, hx, sqx ); 313 if (V <= sqx) 341 double *hx, double *fx, double *sqx, 461 if (sqx != NULL) { 469 *sqx = 1./(Tsqx*Tsqx); 472 *sqx = 0.; [all …]
|
H A D | tdr.c | 431 double *hx, double *fx, double *sqx, 435 double *hx, double *fx, double *sqx, 590 double x, double fx, double hx, double sqx ); 593 double x, double fx, double hx, double sqx );
|
H A D | tdr_sample.ch | 50 double *hx, double *fx, double *sqx ) 59 /* sqx ... pointer for storing density at sampled X */ 93 return _unur_tdr_gw_eval_invcdfhat(gen,u,hx,fx,sqx,NULL,NULL); 99 return _unur_tdr_ps_eval_invcdfhat(gen,u,hx,fx,sqx,NULL);
|
H A D | tdr_ps_sample.ch | 226 double fx, sqx, hx; /* values of density, squeeze, and hat at X */ 247 X = _unur_tdr_ps_eval_invcdfhat( gen, U, &hx, &fx, &sqx, &iv ); 268 if (_unur_FP_less(fx, sqx)) { 276 _unur_tdr_ps_debug_sample( gen, iv, X, fx, hx, sqx ); 307 double *hx, double *fx, double *sqx, 318 /* sqx ... pointer for storing density at sampled X */ 410 if (sqx != NULL && hx != NULL) { 411 *sqx = *hx * iv->sq;
|
/dports/games/spring/spring_98.0/rts/Rendering/ |
H A D | QTPFSPathDrawer.cpp | 352 const int sqx = (tx << 1); in UpdateExtraTexture() local 355 const bool losSqr = losHandler->InLos(sqx, sqz, gu->myAllyTeam); in UpdateExtraTexture() 359 const QTPFS::QTNode* node = static_cast<const QTPFS::QTNode*>(nl.GetNode(sqx, sqz)); in UpdateExtraTexture() 361 const float sm = CMoveMath::GetPosSpeedMod(*md, sqx, sqz); in UpdateExtraTexture() 367 … if (CMoveMath::IsBlocked(*md, sqx, sqz ) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.25f; } in UpdateExtraTexture() 368 … if (CMoveMath::IsBlocked(*md, sqx + 1, sqz ) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.25f; } in UpdateExtraTexture() 369 … if (CMoveMath::IsBlocked(*md, sqx, sqz + 1) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.25f; } in UpdateExtraTexture() 370 … if (CMoveMath::IsBlocked(*md, sqx + 1, sqz + 1) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.25f; } in UpdateExtraTexture() 373 const float sm = CMoveMath::GetPosSpeedMod(md, sqx, sqz); in UpdateExtraTexture()
|
H A D | IPathDrawer.cpp | 71 float IPathDrawer::GetSpeedModNoObstacles(const MoveDef* md, int sqx, int sqz) { 74 const int hmIdx = sqz * gs->mapxp1 + sqx; 75 const int cnIdx = sqz * gs->mapx + sqx;
|
H A D | DefaultPathDrawer.cpp | 165 const int sqx = (tx << 1); in UpdateExtraTexture() local 168 const bool losSqr = losHandler->InLos(sqx, sqy, gu->myAllyTeam); in UpdateExtraTexture() 173 …if (CMoveMath::IsBlocked(*md, sqx, sqy , NULL) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.2… in UpdateExtraTexture() 174 …if (CMoveMath::IsBlocked(*md, sqx + 1, sqy , NULL) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.2… in UpdateExtraTexture() 175 …if (CMoveMath::IsBlocked(*md, sqx, sqy + 1, NULL) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.2… in UpdateExtraTexture() 176 …if (CMoveMath::IsBlocked(*md, sqx + 1, sqy + 1, NULL) & CMoveMath::BLOCK_STRUCTURE) { scale -= 0.2… in UpdateExtraTexture() 180 const float sm = CMoveMath::GetPosSpeedMod(*md, sqx, sqy); in UpdateExtraTexture()
|
/dports/cad/magic/magic-8.3.245/drc/ |
H A D | DRCbasic.c | 174 int sqx, sqy; local 180 if (((sqx = arg->dCD_constraint->r_xbot + sdist 183 && ((sqx * sqx + sqy * sqy) >= ssdist)) 195 if (((sqx = rect.r_xbot - arg->dCD_constraint->r_xtop 198 && ((sqx * sqx + sqy * sqy) >= ssdist)) 210 if (((sqx = arg->dCD_constraint->r_xbot + sdist 214 && ((sqx * sqx + sqy * sqy) >= ssdist)) 226 if (((sqx = rect.r_xbot - arg->dCD_constraint->r_xtop 230 && ((sqx * sqx + sqy * sqy) >= ssdist))
|
/dports/comms/cubicsdr/CubicSDR-0248e5a/external/cubicvr2/math/ |
H A D | quaternion.h | 76 __float sqx = q[0] * q[0]; in toEuler() local 81 …__float x = (180.0f / (float)M_PI) * ((atan2f(2.0f * (q[1] * q[2] + q[0] * q[3]), (-sqx - sqy + sq… in toEuler() 83 …__float z = (180.0f / (float)M_PI) * ((atan2f(2.0f * (q[0] * q[1] + q[2] * q[3]), (sqx - sqy - sqz… in toEuler()
|
/dports/graphics/epix/epix-1.2.19/doc/ |
H A D | plotting3.xp | 8 const double sqx(-pow(x, 2)); // store -x^2 for efficiency 14 summand *= (sqx/((i+1)*(i+2))); // (-1)^i x^{2i+1}/(2i+1)!
|
/dports/graphics/epix/epix-1.2.19/samples/ |
H A D | plotting3.xp | 8 const double sqx(-pow(x, 2)); // store -x^2 for efficiency 14 summand *= (sqx/((i+1)*(i+2))); // (-1)^i x^{2i+1}/(2i+1)!
|
H A D | legend.xp | 8 const double sqx(-pow(x, 2)); // store -x^2 for efficiency 14 summand *= (sqx/((i+1)*(i+2))); // (-1)^i x^{2i+1}/(2i+1)!
|
/dports/devel/ros-urdfdom_headers/urdfdom_headers-1.0.4/urdf_model/include/urdf_model/ |
H A D | pose.h | 106 double sqx; in getRPY() local 110 sqx = this->x * this->x; in getRPY() 128 roll = atan2(2 * (this->y*this->z + this->w*this->x), sqw - sqx - sqy + sqz); in getRPY() 129 yaw = atan2(2 * (this->x*this->y + this->w*this->z), sqw + sqx - sqy - sqz); in getRPY()
|
/dports/misc/sdformat/osrf-sdformat-f555f9a69f8f/src/urdf/urdf_model/ |
H A D | pose.h | 118 double sqx; in getRPY() local 122 sqx = this->x * this->x; in getRPY() 139 roll = atan2(2 * (this->y*this->z + this->w*this->x), sqw - sqx - sqy + sqz); in getRPY() 140 yaw = atan2(2 * (this->x*this->y + this->w*this->z), sqw + sqx - sqy - sqz); in getRPY()
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/maths/ |
H A D | Quaternion.cpp | 126 float sqx = m_V.X*m_V.X; in ToEulerAngles() local 129 float unit = sqx + sqy + sqz + sqw; // if normalised is one, otherwise is correction factor in ToEulerAngles() 145 heading = atan2(2.f * (m_V.X*m_V.Y + m_V.Z*m_W),(sqx - sqy - sqz + sqw)); in ToEulerAngles() 146 bank = atan2(2.f * (m_V.Y*m_V.Z + m_V.X*m_W),(-sqx - sqy + sqz + sqw)); in ToEulerAngles()
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/examples/ |
H A D | helmholtz2d-Dirichlet_single_layer.cpp | 49 Square sqx(_center=Point(0.,0.),_length=4.,_nnodes=npp,_domain_name="Omega"); in main() local 51 Mesh mx0(sqx-dx, triangle, 1 ,gmsh); in main()
|
/dports/games/xboard-devel/xboard-f49e7e1/gtk/ |
H A D | xboard.c | 1659 int sqx, sqy, w, h, lg = lineGap; in ReSize() local 1673 sqx = (w - lg) / BOARD_WIDTH - lg; in ReSize() 1675 if(sqy < sqx) sqx = sqy; in ReSize() 1676 if(sqx < 20) return; in ReSize() 1678 int oldSqx = sqx; in ReSize() 1679 lg = lineGap = sqx < 37 ? 1 : sqx < 59 ? 2 : sqx < 116 ? 3 : 4; in ReSize() 1680 sqx = (w - lg) / BOARD_WIDTH - lg; in ReSize() 1682 if(sqy < sqx) sqx = sqy; in ReSize() 1683 lg = sqx < 37 ? 1 : sqx < 59 ? 2 : sqx < 116 ? 3 : 4; in ReSize() 1686 if(sqx != squareSize && !first) { in ReSize() [all …]
|
/dports/games/xboard/xboard-4.9.1/gtk/ |
H A D | xboard.c | 1678 int sqx, sqy, i, w, h, lg = lineGap; in ReSize() local 1691 sqx = (w - lg) / BOARD_WIDTH - lg; in ReSize() 1693 if(sqy < sqx) sqx = sqy; in ReSize() 1694 if(sqx < 20) return; in ReSize() 1696 int oldSqx = sqx; in ReSize() 1697 lg = lineGap = sqx < 37 ? 1 : sqx < 59 ? 2 : sqx < 116 ? 3 : 4; in ReSize() 1698 sqx = (w - lg) / BOARD_WIDTH - lg; in ReSize() 1700 if(sqy < sqx) sqx = sqy; in ReSize() 1701 lg = sqx < 37 ? 1 : sqx < 59 ? 2 : sqx < 116 ? 3 : 4; in ReSize() 1739 if(sqx != squareSize && !appData.fixedSize) { in ReSize() [all …]
|
/dports/math/pari/pari-2.13.3/src/basemath/ |
H A D | FlxqE.c | 568 GEN sqx, Tp; member 625 GEN sqx, Tp; member 656 e.sqx = d->sqx; e.Tp = d->Tp; e.p=p; e.Xm = XM; in _lift_invd() 666 d.sqx=sqx; d.Tp=Tp; d.p=p; in lift_isogeny() 736 GEN sqx, Tp; member 763 GEN sqx, Tp; member 789 e.sqx = d->sqx; e.Tp = d->Tp; e.p=p; in _teich_invd() 797 d.Xm = Xm; d.T = T; d.sqx = sqx; d.Tp = Tp; d.p = p; in Teichmuller_lift() 900 GEN S1, sqx; in Flxq_ellcard_Kohel() local 922 sqx = Flxq_powers(lr, p-1, T, p); in Flxq_ellcard_Kohel() [all …]
|