Lines Matching refs:ea
17 void verify_euler_ranged(const Matrix<Scalar,3,1>& ea, in verify_euler_ranged() argument
76 EulerAnglesType e(ea[0], ea[1], ea[2]); in verify_euler_ranged()
111 …if( (i!=k || ea[1]!=0) && (i==k || !internal::isApprox(abs(ea[1]),Scalar(EIGEN_PI/2),test_precisio… in verify_euler_ranged()
112 VERIFY((ea-eabis).norm() <= test_precision<Scalar>()); in verify_euler_ranged()
125 void verify_euler(const Matrix<Scalar,3,1>& ea) in verify_euler() argument
127 verify_euler_ranged<EulerSystem>(ea, false, false, false); in verify_euler()
128 verify_euler_ranged<EulerSystem>(ea, false, false, true); in verify_euler()
129 verify_euler_ranged<EulerSystem>(ea, false, true, false); in verify_euler()
130 verify_euler_ranged<EulerSystem>(ea, false, true, true); in verify_euler()
131 verify_euler_ranged<EulerSystem>(ea, true, false, false); in verify_euler()
132 verify_euler_ranged<EulerSystem>(ea, true, false, true); in verify_euler()
133 verify_euler_ranged<EulerSystem>(ea, true, true, false); in verify_euler()
134 verify_euler_ranged<EulerSystem>(ea, true, true, true); in verify_euler()
137 template<typename Scalar> void check_all_var(const Matrix<Scalar,3,1>& ea) in check_all_var() argument
139 verify_euler<EulerSystemXYZ>(ea); in check_all_var()
140 verify_euler<EulerSystemXYX>(ea); in check_all_var()
141 verify_euler<EulerSystemXZY>(ea); in check_all_var()
142 verify_euler<EulerSystemXZX>(ea); in check_all_var()
144 verify_euler<EulerSystemYZX>(ea); in check_all_var()
145 verify_euler<EulerSystemYZY>(ea); in check_all_var()
146 verify_euler<EulerSystemYXZ>(ea); in check_all_var()
147 verify_euler<EulerSystemYXY>(ea); in check_all_var()
149 verify_euler<EulerSystemZXY>(ea); in check_all_var()
150 verify_euler<EulerSystemZXZ>(ea); in check_all_var()
151 verify_euler<EulerSystemZYX>(ea); in check_all_var()
152 verify_euler<EulerSystemZYZ>(ea); in check_all_var()
169 Vector3 ea = m.eulerAngles(0,1,2); in eulerangles() local
170 check_all_var(ea); in eulerangles()
171 ea = m.eulerAngles(0,1,0); in eulerangles()
172 check_all_var(ea); in eulerangles()
177 ea = m.eulerAngles(0,1,2); in eulerangles()
178 check_all_var(ea); in eulerangles()
179 ea = m.eulerAngles(0,1,0); in eulerangles()
180 check_all_var(ea); in eulerangles()
183 ea = (Array3::Random() + Array3(1,0,0))*Scalar(EIGEN_PI)*Array3(0.5,1,1); in eulerangles()
184 check_all_var(ea); in eulerangles()
186 ea[2] = ea[0] = internal::random<Scalar>(0,Scalar(EIGEN_PI)); in eulerangles()
187 check_all_var(ea); in eulerangles()
189 ea[0] = ea[1] = internal::random<Scalar>(0,Scalar(EIGEN_PI)); in eulerangles()
190 check_all_var(ea); in eulerangles()
192 ea[1] = 0; in eulerangles()
193 check_all_var(ea); in eulerangles()
195 ea.head(2).setZero(); in eulerangles()
196 check_all_var(ea); in eulerangles()
198 ea.setZero(); in eulerangles()
199 check_all_var(ea); in eulerangles()