![]() Registered Member ![]()
|
Hi,
On the documentation about using stl container with eigen matrix objects (http://eigen.tuxfamily.org/dox/TopicStlContainers.html) , it says that we should use Eigen::aligned_allocator as allocator parameter. Is it still required if the object stored in the stl container are defined with the Eigen::DontAlign option? For example, is it fine to use the type std::vector< Eigen::Matrix<double, 2, 2, Eigen::ColMajor | Eigen::DontAlign> > ? best regards, Bailin |
![]() Moderator ![]()
|
yes, Eigen::aligned_allocator is only required for aligned types.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]