Top "Eigen" questions

Eigen is a C++ template library for linear algebra: matrices, vectors, and related algorithms.

Find package Eigen3 for CMake

CMake cannot find my Eigen3 package. I set an environment variable called EIGEN3_INCLUDE_DIR pointing to the path where …

cmake eigen
Initialise Eigen::vector with std::vector

I have seen it done before but I cannot remember how to efficiently initialize an Eigen::Vector of known length …

c++ eigen
Euler to Quaternion / Quaternion to Euler using Eigen

I'm trying to implement a functionality that can convert an Euler angle into an Quaternion and back "YXZ"-convention using …

c++ eigen quaternions euler-angles
Convert Eigen Matrix to C array

The Eigen library can map existing memory into Eigen matrices. float array[3]; Map<Vector3f>(array, 3).fill(10); int …

c++ arrays matrix eigen
OpenCV CV::Mat and Eigen::Matrix

Is there a reversible way to convert an OpenCV cv::Mat object to an Eigen::Matrix? e.g., Some way …

c++ opencv eigen
How can the C++ Eigen library perform better than specialized vendor libraries?

I was looking over the performance benchmarks: http://eigen.tuxfamily.org/index.php?title=Benchmark I could not help but …

c++ performance eigen
Eigen combine rotation and translation into one matrix

I have a rotation matrix rot (Eigen::Matrix3d) and a translation vector transl (Eigen::Vector3d) and I want …

c++ matrix eigen
How to check the version number of Eigen C++ template library?

I added several different versions of Eigen to default including directory of Visual C++. But I got collapse problem when …

c++ eigen
typecasting Eigen::VectorXd to std::vector

Their are many links to go the other way round but I am unable to find to get a std::…

c++ eigen
Roll pitch and yaw from Rotation matrix with Eigen Library

I need to extract the roll pitch yaw angles from a rotation matrix and I want to be sure that …

c++ matrix eigen rotational-matrices euler-angles