template<typename _Scalar, int _Options>
Map<Quaternion<_Scalar>, _Options> class
Expression of a quaternion from a memory buffer.
Template parameters | |
---|---|
_Scalar | the type of the Quaternion coefficients |
_Options | see class Map |
Contents
This is a specialization of class Map for Quaternion. This class allows to view a 4 scalar memory buffer as an Eigen's Quaternion object.
Base classes
-
template<class Derived>class QuaternionBase
- Base class for quaternion expressions.
Constructors, destructors, conversion operators
- Map(Scalar* coeffs) explicit
Function documentation
template<typename _Scalar, int _Options>
Eigen:: Map<Quaternion<_Scalar>, _Options><_Scalar, _Options>:: Map(Scalar* coeffs) explicit
Constructs a Mapped Quaternion object from the pointer coeffs
The pointer coeffs must reference the four coefficients of Quaternion in the following order: *coeffs == {x, y, z, w}
If the template parameter _Options is set to Aligned, then the pointer coeffs must be aligned.