/external/eigen/Eigen/src/Geometry/ |
D | AngleAxis.h | 62 typedef Quaternion<Scalar> QuaternionType; 104 EIGEN_DEVICE_FUNC inline QuaternionType operator* (const AngleAxis& other) const 105 { return QuaternionType(*this) * QuaternionType(other); } 108 EIGEN_DEVICE_FUNC inline QuaternionType operator* (const QuaternionType& other) const 109 { return QuaternionType(*this) * other; } 112 …friend EIGEN_DEVICE_FUNC inline QuaternionType operator* (const QuaternionType& a, const AngleAxis… 113 { return a * QuaternionType(b); } 201 return *this = QuaternionType(mat); 211 return *this = QuaternionType(mat);
|
/external/eigen/test/ |
D | stdlist.cpp | 76 template<typename QuaternionType> 77 void check_stdlist_quaternion(const QuaternionType&) in check_stdlist_quaternion() argument 79 typedef typename QuaternionType::Coefficients Coefficients; in check_stdlist_quaternion() 80 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdlist_quaternion() 81 std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stdlist_quaternion() 87 …typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.begi… in check_stdlist_quaternion() 88 …typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator wi = w.begi… in check_stdlist_quaternion()
|
D | stddeque.cpp | 76 template<typename QuaternionType> 77 void check_stddeque_quaternion(const QuaternionType&) in check_stddeque_quaternion() argument 79 typedef typename QuaternionType::Coefficients Coefficients; in check_stddeque_quaternion() 80 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stddeque_quaternion() 81 std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stddeque_quaternion() 87 …typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.beg… in check_stddeque_quaternion() 88 …typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator wi = w.beg… in check_stddeque_quaternion()
|
D | stdvector.cpp | 85 template<typename QuaternionType> 86 void check_stdvector_quaternion(const QuaternionType&) in check_stdvector_quaternion() argument 88 typedef typename QuaternionType::Coefficients Coefficients; in check_stdvector_quaternion() 89 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdvector_quaternion() 90 std::vector<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stdvector_quaternion() 107 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion() 111 QuaternionType* ref = &w[0]; in check_stdvector_quaternion()
|
D | qtvector.cpp | 95 template<typename QuaternionType> 96 void check_qtvector_quaternion(const QuaternionType&) in check_qtvector_quaternion() argument 98 typedef typename QuaternionType::Coefficients Coefficients; in check_qtvector_quaternion() 99 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_qtvector_quaternion() 100 QVector<QuaternionType> v(10), w(20, y); in check_qtvector_quaternion() 117 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType)); in check_qtvector_quaternion() 121 QuaternionType* ref = &w[0]; in check_qtvector_quaternion()
|
D | stdvector_overload.cpp | 99 template<typename QuaternionType> 100 void check_stdvector_quaternion(const QuaternionType&) in check_stdvector_quaternion() argument 102 typedef typename QuaternionType::Coefficients Coefficients; in check_stdvector_quaternion() 103 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdvector_quaternion() 104 std::vector<QuaternionType> v(10), w(20, y); in check_stdvector_quaternion() 121 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion() 125 QuaternionType* ref = &w[0]; in check_stdvector_quaternion()
|
D | stdlist_overload.cpp | 125 template<typename QuaternionType> 126 void check_stdlist_quaternion(const QuaternionType&) in check_stdlist_quaternion() argument 128 typedef typename QuaternionType::Coefficients Coefficients; in check_stdlist_quaternion() 129 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdlist_quaternion() 130 std::list<QuaternionType> v(10), w(20, y); in check_stdlist_quaternion() 131 typename std::list<QuaternionType>::iterator itv = get(v, 5); in check_stdlist_quaternion() 132 typename std::list<QuaternionType>::iterator itw = get(w, 6); in check_stdlist_quaternion() 156 QuaternionType* ref = &(*get(w, 0)); in check_stdlist_quaternion()
|
D | stddeque_overload.cpp | 97 template<typename QuaternionType> 98 void check_stddeque_quaternion(const QuaternionType&) in check_stddeque_quaternion() argument 100 typedef typename QuaternionType::Coefficients Coefficients; in check_stddeque_quaternion() 101 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stddeque_quaternion() 102 std::deque<QuaternionType> v(10), w(20, y); in check_stddeque_quaternion() 122 QuaternionType* ref = &w[0]; in check_stddeque_quaternion()
|
/external/eigen/unsupported/Eigen/src/EulerAngles/ |
D | EulerAngles.h | 122 typedef Quaternion<Scalar> QuaternionType; /*!< the equivalent quaternion type */ typedef 333 return static_cast<QuaternionType>(*this).toRotationMatrix(); in toRotationMatrix() 337 operator QuaternionType() const in QuaternionType() function
|
/external/eigen/demos/opengl/ |
D | quaternion_demo.cpp | 142 typedef Quaternion<Scalar> QuaternionType; typedef in EulerAngles 152 inline EulerAngles(const QuaternionType& q) { *this = q; } in EulerAngles() 157 EulerAngles& operator=(const QuaternionType& q) in operator =() 185 operator QuaternionType() { return QuaternionType(toRotationMatrix()); } in operator QuaternionType()
|
/external/eigen/unsupported/test/ |
D | EulerAngles.cpp | 23 typedef Quaternion<Scalar> QuaternionType; in verify_euler_ranged() typedef 119 QuaternionType q(e); in verify_euler_ranged()
|