Lines Matching refs:coeffs
60 inline Scalar x() const { return this->derived().coeffs().coeff(0); } in x()
62 inline Scalar y() const { return this->derived().coeffs().coeff(1); } in y()
64 inline Scalar z() const { return this->derived().coeffs().coeff(2); } in z()
66 inline Scalar w() const { return this->derived().coeffs().coeff(3); } in w()
69 inline Scalar& x() { return this->derived().coeffs().coeffRef(0); } in x()
71 inline Scalar& y() { return this->derived().coeffs().coeffRef(1); } in y()
73 inline Scalar& z() { return this->derived().coeffs().coeffRef(2); } in z()
75 inline Scalar& w() { return this->derived().coeffs().coeffRef(3); } in w()
78 inline const VectorBlock<const Coefficients,3> vec() const { return coeffs().template head<3>(); } in vec()
81 inline VectorBlock<Coefficients,3> vec() { return coeffs().template head<3>(); } in vec()
84 …const typename internal::traits<Derived>::Coefficients& coeffs() const { return derived().coeffs()… in coeffs() function
87 inline typename internal::traits<Derived>::Coefficients& coeffs() { return derived().coeffs(); } in coeffs() function
109 inline QuaternionBase& setIdentity() { coeffs() << 0, 0, 0, 1; return *this; } in setIdentity()
114 inline Scalar squaredNorm() const { return coeffs().squaredNorm(); } in squaredNorm()
119 inline Scalar norm() const { return coeffs().norm(); } in norm()
123 inline void normalize() { coeffs().normalize(); } in normalize()
126 inline Quaternion<Scalar> normalized() const { return Quaternion<Scalar>(coeffs().normalized()); } in normalized()
133 …calar dot(const QuaternionBase<OtherDerived>& other) const { return coeffs().dot(other.coeffs()); } in dot()
161 { return coeffs().isApprox(other.coeffs(), prec); }
271 { m_coeffs = other.coeffs().template cast<Scalar>(); }
276 inline Coefficients& coeffs() { return m_coeffs;}
277 inline const Coefficients& coeffs() const { return m_coeffs;}
353 EIGEN_STRONG_INLINE Map(const Scalar* coeffs) : m_coeffs(coeffs) {}
355 inline const Coefficients& coeffs() const { return m_coeffs;}
390 EIGEN_STRONG_INLINE Map(Scalar* coeffs) : m_coeffs(coeffs) {}
392 inline Coefficients& coeffs() { return m_coeffs; }
393 inline const Coefficients& coeffs() const { return m_coeffs; }
479 coeffs() = other.coeffs();
487 coeffs() = other.coeffs();
641 return Quaternion<Scalar>(conjugate().coeffs() / n2);
715 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
752 q.coeffs().coeffRef(i) = Scalar(0.5) * t;
755 q.coeffs().coeffRef(j) = (mat.coeff(j,i)+mat.coeff(i,j))*t;
756 q.coeffs().coeffRef(k) = (mat.coeff(k,i)+mat.coeff(i,k))*t;
768 q.coeffs() = vec;