Lines Matching refs:Quaternionx
54 typedef Quaternion<Scalar,Options> Quaternionx;
72 Quaternionx q1, q2;
74 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs());
108 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
116 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
131 VERIFY_IS_APPROX( v2.normalized(),(Quaternionx::FromTwoVectors(v1, v2)*v1).normalized());
132 VERIFY_IS_APPROX( v1.normalized(),(Quaternionx::FromTwoVectors(v1, v1)*v1).normalized());
133 VERIFY_IS_APPROX(-v1.normalized(),(Quaternionx::FromTwoVectors(v1,-v1)*v1).normalized());
137 VERIFY_IS_APPROX( v3.normalized(),(Quaternionx::FromTwoVectors(v1, v3)*v1).normalized());
138 VERIFY_IS_APPROX(-v3.normalized(),(Quaternionx::FromTwoVectors(v1,-v3)*v1).normalized());
152 Quaternionx *q = new Quaternionx;
176 typedef Quaternion<Scalar> Quaternionx;
188 Quaternionx q1 = MQuaternionA(array1);
189 Quaternionx q2 = MQuaternionA(array2);
190 Quaternionx q3 = MQuaternionUA(array3unaligned);
191 Quaternionx q4 = MCQuaternionUA(array3unaligned);