Summary: | [Feature Request] non-vector quaternions | ||
---|---|---|---|
Product: | Eigen | Reporter: | J Baxter <automata> |
Component: | Geometry | Assignee: | Nobody <eigen.nobody> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | chtz, gael.guennebaud, hauke.heibel, jacob.benoit.1 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | 560 | ||
Bug Blocks: |
Description
J Baxter
2013-12-19 11:21:48 UTC
Maybe this could be solved by allowing standard linear algebra on quaternions (bug 560) and then allow matrixes like Matrix<Quaterniond, Dynamic, 1> Qn; // A vector of quaternions. At the moment, you can use a quaternion map on each column (for both reading and writing). typedef Matrix<double, 4, Dynamic, ColMajor> QuatN; QuatN Qn; // Make Qi a read/write Quaternion view to the i-th column of Qn: QuaternionMapAlignedd Qi(Qn.col(i).data()); lose the `Aligned` if you can't guarantee alignment for some reasons. -- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/719. |