Searched refs:theta (Results 1 – 12 of 12) sorted by relevance
64 const float theta = sqrt(theta_squared); in ExpSU2() local65 q_delta.w() = cos(theta); in ExpSU2()66 q_delta.vec() = (sin(theta) / theta) * delta; in ExpSU2()
190 val theta = atan(thetaTan) in <lambda>() constant191 val thetaDeg = Math.toDegrees(theta.toDouble()).toFloat() in <lambda>()193 val tipCircleCenterY = config.arrowRadius / sin(theta) in <lambda>()197 val intersectionTopOffset = tipIntersectionSideLength * cos(theta) in <lambda>()199 val intersectionCenterOffset = tipIntersectionSideLength * sin(theta) in <lambda>()
30 float theta = acos(p.z / r);32 out.x = sin(n * theta) * cos(n * phi);33 out.y = sin(n * theta) * sin(n * phi);34 out.z = cos(n * theta);
122 SLmillidegree theta, const SLVec3D *pAxis) in I3DMacroscopic_Rotate() argument126 if (!((-360000 <= theta) && (theta <= 360000)) || NULL == pAxis) { in I3DMacroscopic_Rotate()135 thiz->mTheta = theta; in I3DMacroscopic_Rotate()
213 static SLresult I3DLocation_Rotate(SL3DLocationItf self, SLmillidegree theta, const SLVec3D *pAxis) in I3DLocation_Rotate() argument217 if (!((-360000 <= theta) && (theta <= 360000)) || (NULL == pAxis)) { in I3DLocation_Rotate()230 thiz->mTheta = theta; in I3DLocation_Rotate()
152 float theta = acos(angle); in rsQuaternionSlerp() local153 float invSinTheta = 1.0f / sin(theta); in rsQuaternionSlerp()154 scale = sin(theta * (1.0f - t)) * invSinTheta; in rsQuaternionSlerp()155 invScale = sin(theta * t) * invSinTheta; in rsQuaternionSlerp()
240 const T theta(a*std::acos(q.w / nq)); in pow()241 return std::pow(nq, a) * QUATERNION<T>(normalize(q.xyz) * std::sin(theta), std::cos(theta)); in pow()
29 vec2 getVectorFromAngle(float theta) {30 return vec2(cos(theta), sin(theta));
295 float theta = acos(angle);296 float invSinTheta = 1.0f / sin(theta);297 scale = sin(theta * (1.0f - t)) * invSinTheta;298 invScale = sin(theta * t) * invSinTheta;
198 const float theta = std::atan2(groundTruthTrajectory[1], groundTruthTrajectory[0]); in updateAggregatedMetrics() local199 const Eigen::Vector2f rotatedPredictionError = Eigen::Rotation2Df(-theta) * predictionError; in updateAggregatedMetrics()
351 double theta = (1000+volumeItf->mStereoPosition)*M_PI_4/1000.0f; // 0 <= theta <= Pi/2 in android_player_volumeUpdate() local352 amplFromStereoPos[0] = cos(theta); in android_player_volumeUpdate()353 amplFromStereoPos[1] = sin(theta); in android_player_volumeUpdate()
1750 SLmillidegree theta,1909 SLmillidegree theta,