/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/ode/nonstiff/ |
H A D | LutherStepInterpolator.java | 78 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument 95 // \sum_{i=1}^{i=s}\left(b_{i} c_{i}\right) = \frac{\theta}{2} in computeInterpolatedStateAndDerivatives() 97 …i=2}^{i=s}\left(b_{i} \sum_{j=1}^{j=i-1}{\left(a_{i,j} c_{j} \right)}\right) = \frac{\theta^{2}}{6} in computeInterpolatedStateAndDerivatives() 98 // \sum_{i=1}^{i=s}\left(b_{i} c_{i}^{2}\right) = \frac{\theta^{2}}{3} in computeInterpolatedStateAndDerivatives() 100 …eft(a_{i,j} \sum_{k=1}^{k=j-1}{\left(a_{j,k} c_{k} \right)} \right)}\right) = \frac{\theta^{3}}{24} in computeInterpolatedStateAndDerivatives() 101 …{i=s}\left(b_{i} \sum_{j=1}^{j=i-1}{\left(a_{i,j} c_{j}^{2} \right)}\right) = \frac{\theta^{3}}{12} in computeInterpolatedStateAndDerivatives() 102 …{i=s}\left(b_{i} c_{i}\sum_{j=1}^{j=i-1}{\left(a_{i,j} c_{j} \right)}\right) = \frac{\theta^{3}}{8} in computeInterpolatedStateAndDerivatives() 103 // \sum_{i=1}^{i=s}\left(b_{i} c_{i}^{3}\right) = \frac{\theta^{3}}{4} in computeInterpolatedStateAndDerivatives() 105 …} \sum_{l=1}^{l=k-1}{\left(a_{k,l} c_{l} \right)} \right)} \right)}\right) = \frac{\theta^{4}}{120} in computeInterpolatedStateAndDerivatives() 106 …a_{i,j} \sum_{k=1}^{k=j-1}{\left(a_{j,k} c_{k}^{2} \right)} \right)}\right) = \frac{\theta^{4}}{60} in computeInterpolatedStateAndDerivatives() [all …]
|
H A D | LutherFieldStepInterpolator.java | 138 … final T time, final T theta, in computeInterpolatedStateAndDerivatives() argument 155 // \sum_{i=1}^{i=s}\left(b_{i} c_{i}\right) = \frac{\theta}{2} in computeInterpolatedStateAndDerivatives() 157 …i=2}^{i=s}\left(b_{i} \sum_{j=1}^{j=i-1}{\left(a_{i,j} c_{j} \right)}\right) = \frac{\theta^{2}}{6} in computeInterpolatedStateAndDerivatives() 158 // \sum_{i=1}^{i=s}\left(b_{i} c_{i}^{2}\right) = \frac{\theta^{2}}{3} in computeInterpolatedStateAndDerivatives() 160 …eft(a_{i,j} \sum_{k=1}^{k=j-1}{\left(a_{j,k} c_{k} \right)} \right)}\right) = \frac{\theta^{3}}{24} in computeInterpolatedStateAndDerivatives() 161 …{i=s}\left(b_{i} \sum_{j=1}^{j=i-1}{\left(a_{i,j} c_{j}^{2} \right)}\right) = \frac{\theta^{3}}{12} in computeInterpolatedStateAndDerivatives() 162 …{i=s}\left(b_{i} c_{i}\sum_{j=1}^{j=i-1}{\left(a_{i,j} c_{j} \right)}\right) = \frac{\theta^{3}}{8} in computeInterpolatedStateAndDerivatives() 163 // \sum_{i=1}^{i=s}\left(b_{i} c_{i}^{3}\right) = \frac{\theta^{3}}{4} in computeInterpolatedStateAndDerivatives() 165 …} \sum_{l=1}^{l=k-1}{\left(a_{k,l} c_{l} \right)} \right)} \right)}\right) = \frac{\theta^{4}}{120} in computeInterpolatedStateAndDerivatives() 166 …a_{i,j} \sum_{k=1}^{k=j-1}{\left(a_{j,k} c_{k}^{2} \right)} \right)}\right) = \frac{\theta^{4}}{60} in computeInterpolatedStateAndDerivatives() [all …]
|
H A D | HighamHall54StepInterpolator.java | 73 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument 76 final double bDot0 = 1 + theta * (-15.0/2.0 + theta * (16.0 - 10.0 * theta)); in computeInterpolatedStateAndDerivatives() 77 final double bDot2 = theta * (459.0/16.0 + theta * (-729.0/8.0 + 135.0/2.0 * theta)); in computeInterpolatedStateAndDerivatives() 78 final double bDot3 = theta * (-44.0 + theta * (152.0 - 120.0 * theta)); in computeInterpolatedStateAndDerivatives() 79 final double bDot4 = theta * (375.0/16.0 + theta * (-625.0/8.0 + 125.0/2.0 * theta)); in computeInterpolatedStateAndDerivatives() 80 final double bDot5 = theta * 5.0/8.0 * (2 * theta - 1); in computeInterpolatedStateAndDerivatives() 82 if ((previousState != null) && (theta <= 0.5)) { in computeInterpolatedStateAndDerivatives() 83 final double hTheta = h * theta; in computeInterpolatedStateAndDerivatives() 84 … final double b0 = hTheta * (1.0 + theta * (-15.0/4.0 + theta * (16.0/3.0 - 5.0/2.0 * theta))); in computeInterpolatedStateAndDerivatives() 85 …final double b2 = hTheta * ( theta * (459.0/32.0 + theta * (-243.0/8.0 + theta * 135.0/8.0))); in computeInterpolatedStateAndDerivatives() [all …]
|
H A D | HighamHall54FieldStepInterpolator.java | 78 … final T time, final T theta, in computeInterpolatedStateAndDerivatives() argument 81 …final T bDot0 = theta.multiply(theta.multiply(theta.multiply( -10.0 ).add( 16.0 )).add(… in computeInterpolatedStateAndDerivatives() 83 …final T bDot2 = theta.multiply(theta.multiply(theta.multiply( 135.0 / 2.0).add(-729.0 / 8.0)).add(… in computeInterpolatedStateAndDerivatives() 84 …final T bDot3 = theta.multiply(theta.multiply(theta.multiply(-120.0 ).add( 152.0 )).add(… in computeInterpolatedStateAndDerivatives() 85 …final T bDot4 = theta.multiply(theta.multiply(theta.multiply( 125.0 / 2.0).add(-625.0 / 8.0)).add(… in computeInterpolatedStateAndDerivatives() 86 final T bDot5 = theta.multiply( 5.0 / 8.0).multiply(theta.multiply(2).subtract(1)); in computeInterpolatedStateAndDerivatives() 90 if (getGlobalPreviousState() != null && theta.getReal() <= 0.5) { in computeInterpolatedStateAndDerivatives() 91 …final T b0 = thetaH.multiply(theta.multiply(theta.multiply(theta.multiply( -5.0 / 2.0).add( 16.0 … in computeInterpolatedStateAndDerivatives() 93 …final T b2 = thetaH.multiply(theta.multiply(theta.multiply(theta.multiply(135.0 / 8.0).add(-243.0 … in computeInterpolatedStateAndDerivatives() 94 …final T b3 = thetaH.multiply(theta.multiply(theta.multiply(theta.multiply(-30.0 ).add( 152.0 … in computeInterpolatedStateAndDerivatives() [all …]
|
H A D | ThreeEighthesStepInterpolator.java | 31 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub>) 32 * + θ (h/8) [ (8 - 15 θ + 8 θ<sup>2</sup>) y'<sub>1</sub> 33 * + 3 * (15 θ - 12 θ<sup>2</sup>) y'<sub>2</sub> 34 * + 3 θ y'<sub>3</sub> 35 * + (-3 θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 39 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub> + h) 40 …* - (1 - θ) (h/8) [(1 - 7 θ + 8 θ<sup>2</sup>) y'<sub>1</su… 41 …* + 3 (1 + θ - 4 θ<sup>2</sup>) y'<sub>2</su… 42 …* + 3 (1 + θ) y'<sub>3</su… 43 …* + (1 + θ + 4 θ<sup>2</sup>) y'<sub>4</su… [all …]
|
H A D | ThreeEighthesFieldStepInterpolator.java | 34 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub>) 35 * + θ (h/8) [ (8 - 15 θ + 8 θ<sup>2</sup>) y'<sub>1</sub> 36 * + 3 * (15 θ - 12 θ<sup>2</sup>) y'<sub>2</sub> 37 * + 3 θ y'<sub>3</sub> 38 * + (-3 θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 42 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub> + h) 43 …* - (1 - θ) (h/8) [(1 - 7 θ + 8 θ<sup>2</sup>) y'<sub>1</su… 44 …* + 3 (1 + θ - 4 θ<sup>2</sup>) y'<sub>2</su… 45 …* + 3 (1 + θ) y'<sub>3</su… 46 …* + (1 + θ + 4 θ<sup>2</sup>) y'<sub>4</su… [all …]
|
H A D | ClassicalRungeKuttaStepInterpolator.java | 31 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub>) 32 * + θ (h/6) [ (6 - 9 θ + 4 θ<sup>2</sup>) y'<sub>1</sub> 33 …* + ( 6 θ - 4 θ<sup>2</sup>) (y'<sub>2</sub> + … 34 * + ( -3 θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 38 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub> + h) 39 * + (1 - θ) (h/6) [ (-4 θ^2 + 5 θ - 1) y'<sub>1</sub> 40 …* +(4 θ^2 - 2 θ - 2) (y'<sub>2</sub> + y'<sub… 41 * -(4 θ^2 + θ + 1) y'<sub>4</sub> 47 * where θ belongs to [0 ; 1] and where y'<sub>1</sub> to y'<sub>4</sub> are the four 94 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument [all …]
|
H A D | ClassicalRungeKuttaFieldStepInterpolator.java | 34 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub>) 35 * + θ (h/6) [ (6 - 9 θ + 4 θ<sup>2</sup>) y'<sub>1</sub> 36 …* + ( 6 θ - 4 θ<sup>2</sup>) (y'<sub>2</sub> + … 37 * + ( -3 θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 41 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub> + h) 42 * + (1 - θ) (h/6) [ (-4 θ^2 + 5 θ - 1) y'<sub>1</sub> 43 …* +(4 θ^2 - 2 θ - 2) (y'<sub>2</sub> + y'<sub… 44 * -(4 θ^2 + θ + 1) y'<sub>4</sub> 50 * where θ belongs to [0 ; 1] and where y'<sub>1</sub> to y'<sub>4</sub> are the four 102 … final T time, final T theta, in computeInterpolatedStateAndDerivatives() argument [all …]
|
H A D | GillStepInterpolator.java | 32 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub>) 33 * + θ (h/6) [ (6 - 9 θ + 4 θ<sup>2</sup>) y'<sub>1</sub> 34 …* + ( 6 θ - 4 θ<sup>2</sup>) ((1-1/√2) y'<… 35 * + ( - 3 θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 39 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub> + h) 40 * - (1 - θ) (h/6) [ (1 - 5 θ + 4 θ<sup>2</sup>) y'<sub>1</sub> 41 …* + (2 + 2 θ - 4 θ<sup>2</sup>) ((1-1/√… 42 * + (1 + θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 47 * where θ belongs to [0 ; 1] and where y'<sub>1</sub> to y'<sub>4</sub> 102 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument [all …]
|
H A D | GillFieldStepInterpolator.java | 34 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub>) 35 * + θ (h/6) [ (6 - 9 θ + 4 θ<sup>2</sup>) y'<sub>1</sub> 36 …* + ( 6 θ - 4 θ<sup>2</sup>) ((1-1/√2) y'<… 37 * + ( - 3 θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 41 * y(t<sub>n</sub> + θ h) = y (t<sub>n</sub> + h) 42 * - (1 - θ) (h/6) [ (1 - 5 θ + 4 θ<sup>2</sup>) y'<sub>1</sub> 43 …* + (2 + 2 θ - 4 θ<sup>2</sup>) ((1-1/√… 44 * + (1 + θ + 4 θ<sup>2</sup>) y'<sub>4</sub> 49 * where θ belongs to [0 ; 1] and where y'<sub>1</sub> to y'<sub>4</sub> 110 … final T time, final T theta, in computeInterpolatedStateAndDerivatives() argument [all …]
|
H A D | MidpointStepInterpolator.java | 31 …* y(t<sub>n</sub> + θ h) = y (t<sub>n</sub>) + θ h [(1 - θ) y'<sub>1</sub> + &… 34 …* y(t<sub>n</sub> + θ h) = y (t<sub>n</sub> + h) + (1-θ) h [θ y'<sub>1</sub> -… 39 * where θ belongs to [0 ; 1] and where y'<sub>1</sub> and y'<sub>2</sub> are the two 88 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument 91 final double coeffDot2 = 2 * theta; in computeInterpolatedStateAndDerivatives() 94 if ((previousState != null) && (theta <= 0.5)) { in computeInterpolatedStateAndDerivatives() 95 final double coeff1 = theta * oneMinusThetaH; in computeInterpolatedStateAndDerivatives() 96 final double coeff2 = theta * theta * h; in computeInterpolatedStateAndDerivatives() 104 final double coeff1 = oneMinusThetaH * theta; in computeInterpolatedStateAndDerivatives() 105 final double coeff2 = oneMinusThetaH * (1.0 + theta); in computeInterpolatedStateAndDerivatives()
|
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
H A D | HighamHall54StepInterpolator.java | 72 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument 76 final double theta2 = theta * theta; in computeInterpolatedStateAndDerivatives() 78 …final double b0 = h * (-1.0/12.0 + theta * (1.0 + theta * (-15.0/4.0 + theta * (16.0/3.0 + theta *… in computeInterpolatedStateAndDerivatives() 79 …final double b2 = h * (-27.0/32.0 + theta2 * (459.0/32.0 + theta * (-243.0/8.0 + theta * 135.0/8.0… in computeInterpolatedStateAndDerivatives() 80 final double b3 = h * (4.0/3.0 + theta2 * (-22.0 + theta * (152.0/3.0 + theta * -30.0))); in computeInterpolatedStateAndDerivatives() 81 …final double b4 = h * (-125.0/96.0 + theta2 * (375.0/32.0 + theta * (-625.0/24.0 + theta * 125.0/8… in computeInterpolatedStateAndDerivatives() 82 final double b5 = h * (-5.0/48.0 + theta2 * (-5.0/16.0 + theta * 5.0/12.0)); in computeInterpolatedStateAndDerivatives() 83 final double bDot0 = 1 + theta * (-15.0/2.0 + theta * (16.0 - 10.0 * theta)); in computeInterpolatedStateAndDerivatives() 84 final double bDot2 = theta * (459.0/16.0 + theta * (-729.0/8.0 + 135.0/2.0 * theta)); in computeInterpolatedStateAndDerivatives() 85 final double bDot3 = theta * (-44.0 + theta * (152.0 - 120.0 * theta)); in computeInterpolatedStateAndDerivatives() [all …]
|
H A D | ThreeEighthesStepInterpolator.java | 32 * y(t_n + theta h) = y (t_n + h) 33 * - (1 - theta) (h/8) [ (1 - 7 theta + 8 theta^2) y'_1 34 * + 3 (1 + theta - 4 theta^2) y'_2 35 * + 3 (1 + theta) y'_3 36 * + (1 + theta + 4 theta^2) y'_4 40 * where theta belongs to [0 ; 1] and where y'_1 to y'_4 are the four 87 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument 91 final double fourTheta2 = 4 * theta * theta; in computeInterpolatedStateAndDerivatives() 93 final double coeff1 = s * (1 - 7 * theta + 2 * fourTheta2); in computeInterpolatedStateAndDerivatives() 94 final double coeff2 = 3 * s * (1 + theta - fourTheta2); in computeInterpolatedStateAndDerivatives() [all …]
|
H A D | ClassicalRungeKuttaStepInterpolator.java | 32 * y(t_n + theta h) = y (t_n + h) 33 * + (1 - theta) (h/6) [ (-4 theta^2 + 5 theta - 1) y'_1 34 * +(4 theta^2 - 2 theta - 2) (y'_2 + y'_3) 35 * -(4 theta^2 + theta + 1) y'_4 39 * where theta belongs to [0 ; 1] and where y'_1 to y'_4 are the four 84 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument 88 final double fourTheta = 4 * theta; in computeInterpolatedStateAndDerivatives() 89 final double oneMinusTheta = 1 - theta; in computeInterpolatedStateAndDerivatives() 90 final double oneMinus2Theta = 1 - 2 * theta; in computeInterpolatedStateAndDerivatives() 92 final double coeff1 = s * ((-fourTheta + 5) * theta - 1); in computeInterpolatedStateAndDerivatives() [all …]
|
H A D | GillStepInterpolator.java | 33 * y(t_n + theta h) = y (t_n + h) 34 * - (1 - theta) (h/6) [ (1 - theta) (1 - 4 theta) y'_1 35 * + (1 - theta) (1 + 2 theta) ((2-q) y'_2 + (2+q) y'_3) 36 * + (1 + theta + 4 theta^2) y'_4 39 * where theta belongs to [0 ; 1], q = sqrt(2) and where y'_1 to y'_4 92 protected void computeInterpolatedStateAndDerivatives(final double theta, in computeInterpolatedStateAndDerivatives() argument 96 final double twoTheta = 2 * theta; in computeInterpolatedStateAndDerivatives() 97 final double fourTheta = 4 * theta; in computeInterpolatedStateAndDerivatives() 99 final double oMt = 1 - theta; in computeInterpolatedStateAndDerivatives() 105 final double coeff4 = s * (1 + theta * (1 + fourTheta)); in computeInterpolatedStateAndDerivatives() [all …]
|
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/geometry/spherical/twod/ |
H A D | S2Point.java | 29 * We use the mathematical convention to use the azimuthal angle \( \theta \) 40 /** +I (coordinates: \( \theta = 0, \varphi = \pi/2 \)). */ 43 /** +J (coordinates: \( \theta = \pi/2, \varphi = \pi/2 \))). */ 46 /** +K (coordinates: \( \theta = any angle, \varphi = 0 \)). */ 49 /** -I (coordinates: \( \theta = \pi, \varphi = \pi/2 \)). */ 52 /** -J (coordinates: \( \theta = 3\pi/2, \varphi = \pi/2 \)). */ 55 /** -K (coordinates: \( \theta = any angle, \varphi = \pi \)). */ 66 /** Azimuthal angle \( \theta \) in the x-y plane. */ 67 private final double theta; field in S2Point 77 * @param theta azimuthal angle \( \theta \) in the x-y plane [all …]
|
/aosp_15_r20/external/eigen/bench/ |
H A D | quat_slerp.cpp | 32 // theta is the angle between the 2 quaternions in slerp_legacy() 33 Scalar theta = std::acos(absD); in slerp_legacy() local 34 Scalar sinTheta = internal::sin(theta); in slerp_legacy() 36 Scalar scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy() 37 Scalar scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy() 62 // theta is the angle between the 2 quaternions in slerp_legacy_nlerp() 63 Scalar theta = std::acos(absD); in slerp_legacy_nlerp() local 64 Scalar sinTheta = internal::sin(theta); in slerp_legacy_nlerp() 66 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy_nlerp() 67 scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy_nlerp() [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/numeric/odeint/include/boost/numeric/odeint/stepper/ |
D | runge_kutta_dopri5.hpp | 207 * y(t+theta) = y(t) + h * sum_i^7 b_i(theta) * k_i 209 * A = theta^2 * ( 3 - 2 theta ) 210 * B = theta^2 * ( theta - 1 ) 211 * C = theta^2 * ( theta - 1 )^2 212 * D = theta * ( theta - 1 )^2 214 * b_1( theta ) = A * b_1 - C * X1( theta ) + D 215 * b_2( theta ) = 0 216 * b_3( theta ) = A * b_3 + C * X3( theta ) 217 * b_4( theta ) = A * b_4 - C * X4( theta ) 218 * b_5( theta ) = A * b_5 + C * X5( theta ) [all …]
|
/aosp_15_r20/external/pdfium/third_party/lcms/src/ |
H A D | cmssm.c | 37 // theta = L* 39 #define SECTORS 16 // number of divisions in alpha and theta 46 cmsFloat64Number theta; member 61 cmsSpherical p; // Keep also alpha & theta of maximum 131 sp ->alpha = sp ->theta = 0; in ToSpherical() 136 sp ->theta = _cmsAtan2(sqrt(a*a + b*b), L); in ToSpherical() 152 sin_theta = sin((M_PI * sp ->theta) / 180.0); in ToCartesian() 153 cos_theta = cos((M_PI * sp ->theta) / 180.0); in ToCartesian() 168 void QuantizeToSector(const cmsSpherical* sp, int* alpha, int* theta) in QuantizeToSector() argument 171 *theta = (int) floor(((sp->theta * (SECTORS)) / 180.0) ); in QuantizeToSector() [all …]
|
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/cellular/ |
D | keysight_chamber.py | 35 self.move_theta_phi_abs(self.config['chamber_home']['theta'], 39 self.config['chamber_home'] = {'phi': 0, 'theta': 0} 77 "pattern_theta_start": -self.config['chamber_home']['theta'], 78 "pattern_theta_stop": 360 - self.config['chamber_home']['theta'], 85 def move_theta_abs(self, theta): argument 86 self.log.info("Moving to Theta={}".format(theta)) 87 self.move_to_azim_roll(self.current_azim, theta) 89 def move_theta_phi_abs(self, theta, phi): argument 90 self.log.info("Moving to Theta={}, Phi={}".format(theta, phi)) 91 self.move_to_azim_roll(phi, theta) [all …]
|
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/geometry/euclidean/threed/ |
H A D | Rotation.java | 632 // sin (theta), -cos (theta) sin (phi), cos (theta) cos (phi) in getAngles() 634 // cos (psi) cos (theta), -sin (psi) cos (theta), sin (theta) in getAngles() 635 // and we can choose to have theta in the interval [-PI/2 ; +PI/2] in getAngles() 652 // cos (theta) cos (psi), -sin (psi), sin (theta) cos (psi) in getAngles() 668 // cos (phi) sin (theta), -sin (phi), cos (phi) cos (theta) in getAngles() 686 // cos (psi) cos (theta), sin (psi), -cos (psi) sin (theta) in getAngles() 706 // -sin (theta) cos (phi), sin (phi), cos (theta) cos (phi) in getAngles() 722 // cos (theta) cos (psi), cos (theta) sin (psi), -sin (theta) in getAngles() 724 // -sin (theta), sin (phi) cos (theta), cos (phi) cos (theta) in getAngles() 725 // and we can choose to have theta in the interval [-PI/2 ; +PI/2] in getAngles() [all …]
|
H A D | SphericalCoordinates.java | 31 * <li>x = r cos(θ) sin(Φ)</li> 32 * <li>y = r sin(θ) sin(Φ)</li> 37 * <li>θ = atan2(y, x)</li> 41 * r is the radius, θ is the azimuthal angle in the x-y plane and Φ is the polar 43 * in physics (and in particular in spherical harmonics) where the meanings of θ and 63 /** Azimuthal angle in the x-y plane θ. */ 64 private final double theta; field in SphericalCoordinates 69 /** Jacobian of (r, θ &Phi). */ 75 /** Hessian of azimuthal angle in the x-y plane θ. */ 91 this.theta = v.getAlpha(); in SphericalCoordinates() [all …]
|
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/bt/performance/ |
D | BtA2dpOtaRangeTest.py | 423 for theta in self.positioner['theta_range']: 425 succeed = self.theta_card.moveTo(theta) 428 "Theta positioner moved to {} degree".format(theta)) 431 "Failed to move theta positioner to {} degree".format( 432 theta)) 434 "Theta positioner moved to {} degree".format(theta)) 442 columns = ['Phi/Theta'] 477 for theta in self.positioner['theta_range']: 479 succeed = self.theta_card.moveTo(theta) 482 "Theta positioner moved to {} degree".format( [all …]
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/ |
H A D | AffineGridGenerator.cpp | 31 const Tensor& theta, in make_base_grid_4D() argument 37 auto base_grid = at::empty({N, H, W, 3}, theta.options()); in make_base_grid_4D() 39 base_grid.select(-1, 0).copy_(linspace_from_neg_one(theta, W, align_corners)); in make_base_grid_4D() 40 base_grid.select(-1, 1).copy_(linspace_from_neg_one(theta, H, align_corners).unsqueeze_(-1)); in make_base_grid_4D() 47 const Tensor& theta, in make_base_grid_5D() argument 54 auto base_grid = at::empty({N, D, H, W, 4}, theta.options()); in make_base_grid_5D() 56 base_grid.select(-1, 0).copy_(linspace_from_neg_one(theta, W, align_corners)); in make_base_grid_5D() 57 base_grid.select(-1, 1).copy_(linspace_from_neg_one(theta, H, align_corners).unsqueeze_(-1)); in make_base_grid_5D() 58 …base_grid.select(-1, 2).copy_(linspace_from_neg_one(theta, D, align_corners).unsqueeze_(-1).unsque… in make_base_grid_5D() 65 const Tensor& theta, in affine_grid_generator_4D() argument [all …]
|
/aosp_15_r20/external/freetype/src/base/ |
H A D | fttrigon.c | 164 FT_Angle theta ) in ft_trig_pseudo_rotate() argument 175 while ( theta < -FT_ANGLE_PI4 ) in ft_trig_pseudo_rotate() 180 theta += FT_ANGLE_PI2; in ft_trig_pseudo_rotate() 183 while ( theta > FT_ANGLE_PI4 ) in ft_trig_pseudo_rotate() 188 theta -= FT_ANGLE_PI2; in ft_trig_pseudo_rotate() 196 if ( theta < 0 ) in ft_trig_pseudo_rotate() 201 theta += *arctanptr++; in ft_trig_pseudo_rotate() 208 theta -= *arctanptr++; in ft_trig_pseudo_rotate() 220 FT_Angle theta; in ft_trig_pseudo_polarize() local 234 theta = FT_ANGLE_PI2; in ft_trig_pseudo_polarize() [all …]
|