Home | History | Annotate | Download | only in doc

Lines Matching full:vector2d

27   Eigen::Vector2d v;
46 Eigen::Vector2d v;
69 Eigen::Vector2d v;
78 A Eigen::Vector2d consists of 2 doubles, which is 128 bits. Which is exactly the size of a SSE packet, which makes it possible to use SSE for all sorts of operations on this vector. But SSE instructions (at least the ones that Eigen uses, which are the fast ones) require 128-bit alignment. Otherwise you get a segmentation fault.
80 For this reason, Eigen takes care by itself to require 128-bit alignment for Eigen::Vector2d, by doing two things:
81 \li Eigen requires 128-bit alignment for the Eigen::Vector2d's array (of 2 doubles). With GCC, this is done with a __attribute__ ((aligned(16))).
82 \li Eigen overloads the "operator new" of Eigen::Vector2d so it will always return 128-bit aligned pointers.
100 Eigen::Vector2d v;
159 Eigen::Vector2d av(v);
175 Vector2d v;