Lines Matching full:coefficients
44 typedef typename internal::traits<Derived>::Coefficients Coefficients;
49 // typedef typename Matrix<Scalar,4,1> Coefficients;
78 inline const VectorBlock<const Coefficients,3> vec() const { return coeffs().template head<3>(); }
81 inline VectorBlock<Coefficients,3> vec() { return coeffs().template head<3>(); }
83 /** \returns a read-only vector expression of the coefficients (x,y,z,w) */
84 inline const typename internal::traits<Derived>::Coefficients& coeffs() const { return derived().coeffs(); }
86 /** \returns a vector expression of the coefficients (x,y,z,w) */
87 inline typename internal::traits<Derived>::Coefficients& coeffs() { return derived().coeffs(); }
111 /** \returns the squared norm of the quaternion's coefficients
116 /** \returns the norm of the quaternion's coefficients
196 * \param _Scalar the scalar type, i.e., the type of the coefficients
218 typedef Matrix<_Scalar,4,1,_Options> Coefficients;
220 IsAligned = internal::traits<Coefficients>::Flags & AlignedBit,
238 typedef typename internal::traits<Quaternion>::Coefficients Coefficients;
245 * its four coefficients \a w, \a x, \a y and \a z.
248 * while internally the coefficients are stored in the following order:
264 * - a 4D vector expression representing quaternion coefficients.
277 inline Coefficients& coeffs() { return m_coeffs;}
278 inline const Coefficients& coeffs() const { return m_coeffs;}
283 Coefficients m_coeffs;
311 typedef Map<Matrix<_Scalar,4,1>, _Options> Coefficients;
328 typedef Map<const Matrix<_Scalar,4,1>, _Options> Coefficients;
340 * \param _Scalar the type of the Quaternion coefficients
356 typedef typename internal::traits<Map>::Coefficients Coefficients;
368 inline const Coefficients& coeffs() const { return m_coeffs;}
371 const Coefficients m_coeffs;
376 * \param _Scalar the type of the Quaternion coefficients
392 typedef typename internal::traits<Map>::Coefficients Coefficients;
404 inline Coefficients& coeffs() { return m_coeffs; }
405 inline const Coefficients& coeffs() const { return m_coeffs; }
408 Coefficients m_coeffs;
654 return Quaternion<Scalar>(Coefficients::Zero());
763 // set from a vector of coefficients assumed to be a quaternion