1 #ifndef OPAL_QUATERNION_H
2 #define OPAL_QUATERNION_H
12 Quaternion(
const double &,
const double &,
const double &,
const double &);
49 Vektor<double, 4>(1.0, 0.0, 0.0, 0.0)
59 Vektor<double, 4>(x0, x1, x2, x3)
75 return dot(*
this, *
this);
matrix_t getRotationMatrix() const
boost::numeric::ublas::matrix< double > matrix_t
Tps< T > sqrt(const Tps< T > &x)
Square root.
Quaternion conjugate() const
Vector_t rotate(const Vector_t &) const
Quaternion operator/(const double &) const
PETE_TUTree< FnAbs, typename T::PETE_Expr_t > abs(const PETE_Expr< T > &l)
Quaternion inverse() const
Quaternion operator*(const double &) const
Quaternion getQuaternion(Vector_t u, Vector_t ref)
Quaternion & operator*=(const Quaternion &)
constexpr double e
The value of .
Quaternion & operator=(const Quaternion &)=default
double dot(const Vector3D &lhs, const Vector3D &rhs)
Vector dot product.