Lines Matching full:coefficients
45 typedef typename internal::traits<Derived>::Coefficients Coefficients;
50 // typedef typename Matrix<Scalar,4,1> Coefficients;
79 EIGEN_DEVICE_FUNC inline const VectorBlock<const Coefficients,3> vec() const { return coeffs().template head<3>(); }
82 EIGEN_DEVICE_FUNC inline VectorBlock<Coefficients,3> vec() { return coeffs().template head<3>(); }
84 /** \returns a read-only vector expression of the coefficients (x,y,z,w) */
85 EIGEN_DEVICE_FUNC inline const typename internal::traits<Derived>::Coefficients& coeffs() const { return derived().coeffs(); }
87 /** \returns a vector expression of the coefficients (x,y,z,w) */
88 EIGEN_DEVICE_FUNC inline typename internal::traits<Derived>::Coefficients& coeffs() { return derived().coeffs(); }
112 /** \returns the squared norm of the quaternion's coefficients
117 /** \returns the norm of the quaternion's coefficients
193 * \tparam _Scalar the scalar type, i.e., the type of the coefficients
194 * \tparam _Options controls the memory alignment of the coefficients. Can be \# AutoAlign or \# DontAlign. Default is AutoAlign.
218 typedef Matrix<_Scalar,4,1,_Options> Coefficients;
220 Alignment = internal::traits<Coefficients>::Alignment,
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.
279 EIGEN_DEVICE_FUNC inline Coefficients& coeffs() { return m_coeffs;}
280 EIGEN_DEVICE_FUNC inline const Coefficients& coeffs() const { return m_coeffs;}
289 Coefficients m_coeffs;
315 typedef Map<Matrix<_Scalar,4,1>, _Options> Coefficients;
323 typedef Map<const Matrix<_Scalar,4,1>, _Options> Coefficients;
334 * \tparam _Scalar the type of the Quaternion coefficients
350 typedef typename internal::traits<Map>::Coefficients Coefficients;
356 * The pointer \a coeffs must reference the four coefficients of Quaternion in the following order:
362 EIGEN_DEVICE_FUNC inline const Coefficients& coeffs() const { return m_coeffs;}
365 const Coefficients m_coeffs;
371 * \tparam _Scalar the type of the Quaternion coefficients
387 typedef typename internal::traits<Map>::Coefficients Coefficients;
393 * The pointer \a coeffs must reference the four coefficients of Quaternion in the following order:
399 EIGEN_DEVICE_FUNC inline Coefficients& coeffs() { return m_coeffs; }
400 EIGEN_DEVICE_FUNC inline const Coefficients& coeffs() const { return m_coeffs; }
403 Coefficients m_coeffs;
668 return Quaternion<Scalar>(Coefficients::Zero());
794 // set from a vector of coefficients assumed to be a quaternion