Home | History | Annotate | Download | only in Geometry

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
192 * \tparam _Scalar the scalar type, i.e., the type of the coefficients
193 * \tparam _Options controls the memory alignment of the coefficients. Can be \# AutoAlign or \# DontAlign. Default is AutoAlign.
217 typedef Matrix<_Scalar,4,1,_Options> Coefficients;
219 IsAligned = internal::traits<Coefficients>::Flags & AlignedBit,
237 typedef typename internal::traits<Quaternion>::Coefficients Coefficients;
244 * its four coefficients \a w, \a x, \a y and \a z.
247 * while internally the coefficients are stored in the following order:
263 * - a 4D vector expression representing quaternion coefficients.
276 inline Coefficients& coeffs() { return m_coeffs;}
277 inline const Coefficients& coeffs() const { return m_coeffs;}
282 Coefficients m_coeffs;
308 typedef Map<Matrix<_Scalar,4,1>, _Options> Coefficients;
316 typedef Map<const Matrix<_Scalar,4,1>, _Options> Coefficients;
327 * \tparam _Scalar the type of the Quaternion coefficients
343 typedef typename internal::traits<Map>::Coefficients Coefficients;
349 * The pointer \a coeffs must reference the four coefficients of Quaternion in the following order:
355 inline const Coefficients& coeffs() const { return m_coeffs;}
358 const Coefficients m_coeffs;
364 * \tparam _Scalar the type of the Quaternion coefficients
380 typedef typename internal::traits<Map>::Coefficients Coefficients;
386 * The pointer \a coeffs must reference the four coefficients of Quaternion in the following order:
392 inline Coefficients& coeffs() { return m_coeffs; }
393 inline const Coefficients& coeffs() const { return m_coeffs; }
396 Coefficients m_coeffs;
645 return Quaternion<Scalar>(Coefficients::Zero());
761 // set from a vector of coefficients assumed to be a quaternion