/dports/finance/R-cran-ccgarch/ccgarch/R/ |
H A D | hh_test.R | 7 sqy <- dvar^2 functionVar 8 sqy.mean <- colMeans(sqy) 48 zeta <- sqy/h-1 # denoted by zeta^2 - 1 in HH 51 v.t <- cbind(1, sqy[,j], h[,j]) 58 z.k <- cbind(sqy[,ind[ind!=j]], h[,ind[ind!=j]])
|
H A D | nt_test.R | 6 sqy <- dvar^2 functionVar 7 sqy.mean <- colMeans(sqy) 47 v <- cbind(1, sqy, h) 53 zeta <- sqy/h-1 #std.resid^2-1
|
/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;
|
H A D | SMFRenderState.cpp | 467 void SMFRenderStateFFP::SetSquareTexGen(const int sqx, const int sqy) const { in SetSquareTexGen() 471 SetTexGen(1.0f / SMF_TEXSQUARE_SIZE, 1.0f / SMF_TEXSQUARE_SIZE, -sqx, -sqy); in SetSquareTexGen() 474 void SMFRenderStateARB::SetSquareTexGen(const int sqx, const int sqy) const { in SetSquareTexGen() 476 arbShaders[ARB_SHADER_CURRENT]->SetUniform4f(11, -sqx, -sqy, 0, 0); in SetSquareTexGen() 479 void SMFRenderStateGLSL::SetSquareTexGen(const int sqx, const int sqy) const { in SetSquareTexGen() 480 glslShaders[GLSL_SHADER_CURRENT]->SetUniform("texSquare", sqx, sqy); in SetSquareTexGen()
|
/dports/cad/magic/magic-8.3.245/drc/ |
H A D | DRCbasic.c | 174 int sqx, sqy; local 181 - rect.r_xtop) >= 0) && ((sqy = rect.r_ybot 183 && ((sqx * sqx + sqy * sqy) >= ssdist)) 196 + sdist) >= 0) && ((sqy = rect.r_ybot 198 && ((sqx * sqx + sqy * sqy) >= ssdist)) 212 ((sqy = arg->dCD_constraint->r_ybot 214 && ((sqx * sqx + sqy * sqy) >= ssdist)) 228 ((sqy = arg->dCD_constraint->r_ybot 230 && ((sqx * sqx + sqy * sqy) >= ssdist))
|
/dports/comms/cubicsdr/CubicSDR-0248e5a/external/cubicvr2/math/ |
H A D | quaternion.h | 77 __float sqy = q[1] * q[1]; in toEuler() local 81 … (180.0f / (float)M_PI) * ((atan2f(2.0f * (q[1] * q[2] + q[0] * q[3]), (-sqx - sqy + sqz + sqw)))); in toEuler() 83 …= (180.0f / (float)M_PI) * ((atan2f(2.0f * (q[0] * q[1] + q[2] * q[3]), (sqx - sqy - sqz + sqw)))); in toEuler()
|
/dports/devel/ros-urdfdom_headers/urdfdom_headers-1.0.4/urdf_model/include/urdf_model/ |
H A D | pose.h | 107 double sqy; in getRPY() local 111 sqy = this->y * this->y; 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 | 119 double sqy; in getRPY() local 123 sqy = this->y * this->y; 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 | 127 float sqy = m_V.Y*m_V.Y; 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/games/spring/spring_98.0/rts/Rendering/ |
H A D | DefaultPathDrawer.cpp | 166 const int sqy = (ty << 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/games/tuxpaint/tuxpaint-0.9.26/magic/src/ |
H A D | halftone.c | 236 int xx, yy, xxx, yyy, channel, ox, oy, sqx, sqy; in halftone_line_callback() local 295 sqy = (yy + oy) % 16; in halftone_line_callback() 299 … SDL_GetRGB(api->getpixel(square, sqx, sqy), square->format, &or, &og, &ob); in halftone_line_callback() 312 api->putpixel(square, sqx, sqy, pixel); in halftone_line_callback()
|
/dports/math/ignition-math/ignitionrobotics-ign-math-46f3dd24499c/include/ignition/math/ |
H A D | Quaternion.hh | 344 T sqy; in Euler() local 351 sqy = copy.qy * copy.qy; in Euler() 378 squ - sqx + sqy - sqz))); in Euler() 385 squ - sqx + sqy - sqz))); in Euler() 391 squ - sqx - sqy + sqz))); in Euler() 395 squ + sqx - sqy - sqz))); in Euler()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/maths/ |
H A D | vecmat.cpp | 668 const fix sqy = fixmul(qy2, qy2); in vms_matrix_from_quaternion() local 670 const fix invs = fixdiv(fl2f(1.0), (sqw + sqx + sqy + sqz)); in vms_matrix_from_quaternion() 672 m.rvec.x = fixmul(sqx - sqy - sqz + sqw, invs); in vms_matrix_from_quaternion() 673 m.uvec.y = fixmul(-sqx + sqy - sqz + sqw, invs); in vms_matrix_from_quaternion() 674 m.fvec.z = fixmul(-sqx - sqy + sqz + sqw, invs); in vms_matrix_from_quaternion()
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/nalgebra-0.18.1/src/geometry/ |
H A D | rotation_specialization.rs | 392 let sqy = uy * uy; in from_axis_angle() localVariable 402 sqy + (N::one() - sqy) * cos, in from_axis_angle()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/nalgebra-0.18.1/src/geometry/ |
H A D | rotation_specialization.rs | 392 let sqy = uy * uy; in from_axis_angle() localVariable 402 sqy + (N::one() - sqy) * cos, in from_axis_angle()
|
/dports/devel/bullet/bullet3-3.21/examples/SharedMemory/plugins/stablePDPlugin/ |
H A D | MathUtil.cpp | 132 double sqy = q.y() * q.y(); in RotateMat() local 134 double invs = 1 / (sqx + sqy + sqz + sqw); in RotateMat() 136 mat(0, 0) = (sqx - sqy - sqz + sqw) * invs; in RotateMat() 137 mat(1, 1) = (-sqx + sqy - sqz + sqw) * invs; in RotateMat() 138 mat(2, 2) = (-sqx - sqy + sqz + sqw) * invs; in RotateMat()
|
/dports/devel/py-bullet3/bullet3-3.21/examples/SharedMemory/plugins/stablePDPlugin/ |
H A D | MathUtil.cpp | 132 double sqy = q.y() * q.y(); in RotateMat() local 134 double invs = 1 / (sqx + sqy + sqz + sqw); in RotateMat() 136 mat(0, 0) = (sqx - sqy - sqz + sqw) * invs; in RotateMat() 137 mat(1, 1) = (-sqx + sqy - sqz + sqw) * invs; in RotateMat() 138 mat(2, 2) = (-sqx - sqy + sqz + sqw) * invs; in RotateMat()
|
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/com/jogamp/opengl/math/ |
H A D | Quaternion.java | 901 final float sqy = y*y; in toEuler() local 903 final float unit = sqx + sqy + sqz + sqw; // if normalized is one, otherwise in toEuler() 916 result[0] = FloatUtil.atan2(2f * x * w - 2 * y * z, -sqx + sqy - sqz + sqw); in toEuler() 917 result[1] = FloatUtil.atan2(2f * y * w - 2 * x * z, sqx - sqy - sqz + sqw); in toEuler()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/include/ |
H A D | quaternion.h | 600 const f64 sqy = Y*Y; in toEuler() local 625 euler.Z = (f32) atan2(2.0 * (X*Y +Z*W),(sqx - sqy - sqz + sqw)); in toEuler() 627 euler.X = (f32) atan2(2.0 * (Y*Z +X*W),(-sqx - sqy + sqz + sqw)); in toEuler()
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/nalgebra/src/geometry/ |
H A D | rotation_specialization.rs | 393 let sqy = uy.clone() * uy.clone(); in from_axis_angle() localVariable 403 sqy.clone() + (T::one() - sqy) * cos.clone(), in from_axis_angle()
|
/dports/science/chrono/chrono-7.0.1/src/chrono/core/ |
H A D | ChQuaternion.cpp | 189 double sqy = q1.e2() * q1.e2(); in Q_to_NasaAngles() local 192 mnasa.z() = atan2(2.0 * (q1.e1() * q1.e2() + q1.e3() * q1.e0()), (sqx - sqy - sqz + sqw)); in Q_to_NasaAngles() 194 mnasa.y() = atan2(2.0 * (q1.e2() * q1.e3() + q1.e1() * q1.e0()), (-sqx - sqy + sqz + sqw)); in Q_to_NasaAngles()
|
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/include/ |
H A D | quaternion.h | 600 const f64 sqy = Y*Y; in toEuler() local 625 euler.Z = (f32) atan2(2.0 * (X*Y +Z*W),(sqx - sqy - sqz + sqw)); in toEuler() 627 euler.X = (f32) atan2(2.0 * (Y*Z +X*W),(-sqx - sqy + sqz + sqw)); in toEuler()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/cpp/ |
H A D | Triangulator.cpp | 898 double sqy = q[1] * q[1]; in diagonalize() local 901 Q[0][0] = (sqx - sqy - sqz + sqw); in diagonalize() 902 Q[1][1] = (-sqx + sqy - sqz + sqw); in diagonalize() 903 Q[2][2] = (-sqx - sqy + sqz + sqw); in diagonalize()
|
/dports/devel/bullet/bullet3-3.21/src/Bullet3Common/ |
H A D | b3Quaternion.h | 164 b3Scalar sqy; in getEulerZYX() local 168 sqy = m_floats[1] * m_floats[1]; in getEulerZYX() 171 …rollX = b3Atan2(2 * (m_floats[1] * m_floats[2] + m_floats[3] * m_floats[0]), squ - sqx - sqy + sqz… in getEulerZYX() 174 …yawZ = b3Atan2(2 * (m_floats[0] * m_floats[1] + m_floats[3] * m_floats[2]), squ + sqx - sqy - sqz); in getEulerZYX()
|
/dports/devel/bullet/bullet3-3.21/src/LinearMath/ |
H A D | btQuaternion.h | 165 btScalar sqy; in getEulerZYX() local 169 sqy = m_floats[1] * m_floats[1]; in getEulerZYX() 193 …rollX = btAtan2(2 * (m_floats[1] * m_floats[2] + m_floats[3] * m_floats[0]), squ - sqx - sqy + sqz… in getEulerZYX() 194 …yawZ = btAtan2(2 * (m_floats[0] * m_floats[1] + m_floats[3] * m_floats[2]), squ + sqx - sqy - sqz); in getEulerZYX()
|