Lines Matching refs:ea
17 void verify_euler(const Matrix<Scalar,3,1>& ea, int i, int j, int k) in verify_euler() argument
23 …Matrix3 m(AngleAxisx(ea[0], Vector3::Unit(i)) * AngleAxisx(ea[1], Vector3::Unit(j)) * AngleAxisx(e… in verify_euler()
29 …if( (i!=k || ea[1]!=0) && (i==k || !internal::isApprox(abs(ea[1]),Scalar(M_PI/2),test_precision<Sc… in verify_euler()
30 VERIFY((ea-eabis).norm() <= test_precision<Scalar>()); in verify_euler()
41 template<typename Scalar> void check_all_var(const Matrix<Scalar,3,1>& ea) in check_all_var() argument
43 verify_euler(ea, 0,1,2); in check_all_var()
44 verify_euler(ea, 0,1,0); in check_all_var()
45 verify_euler(ea, 0,2,1); in check_all_var()
46 verify_euler(ea, 0,2,0); in check_all_var()
48 verify_euler(ea, 1,2,0); in check_all_var()
49 verify_euler(ea, 1,2,1); in check_all_var()
50 verify_euler(ea, 1,0,2); in check_all_var()
51 verify_euler(ea, 1,0,1); in check_all_var()
53 verify_euler(ea, 2,0,1); in check_all_var()
54 verify_euler(ea, 2,0,2); in check_all_var()
55 verify_euler(ea, 2,1,0); in check_all_var()
56 verify_euler(ea, 2,1,2); in check_all_var()
73 Vector3 ea = m.eulerAngles(0,1,2); in eulerangles() local
74 check_all_var(ea); in eulerangles()
75 ea = m.eulerAngles(0,1,0); in eulerangles()
76 check_all_var(ea); in eulerangles()
81 ea = m.eulerAngles(0,1,2); in eulerangles()
82 check_all_var(ea); in eulerangles()
83 ea = m.eulerAngles(0,1,0); in eulerangles()
84 check_all_var(ea); in eulerangles()
87 ea = (Array3::Random() + Array3(1,0,0))*Scalar(M_PI)*Array3(0.5,1,1); in eulerangles()
88 check_all_var(ea); in eulerangles()
90 ea[2] = ea[0] = internal::random<Scalar>(0,Scalar(M_PI)); in eulerangles()
91 check_all_var(ea); in eulerangles()
93 ea[0] = ea[1] = internal::random<Scalar>(0,Scalar(M_PI)); in eulerangles()
94 check_all_var(ea); in eulerangles()
96 ea[1] = 0; in eulerangles()
97 check_all_var(ea); in eulerangles()
99 ea.head(2).setZero(); in eulerangles()
100 check_all_var(ea); in eulerangles()
102 ea.setZero(); in eulerangles()
103 check_all_var(ea); in eulerangles()