Top "Eigen" questions

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

Boost::uBLAS vs Eigen

I am used to Eigen for almost all my mathematical linear algebra work. Recently, I have discovered that Boost also …

c++ boost eigen
Eigen, how to access the underlying array of a MatrixBase<Derived>

I need to access the array that contains the data of a MatrixBase Eigen matrix. The Eigen library has the …

c++ eigen
Initialize an Eigen::MatrixXd from a 2d std::vector

This should hopefully be pretty simple but i cannot find a way to do it in the Eigen documentation. Say …

c++ eigen
Why was Eigen chosen for TensorFlow?

The TensorFlow white paper mentions that Eigen is used. Are there public explanations for how Eigen was chosen, and are …

c++ tensorflow eigen
Eigen - Check if matrix is Positive (Semi-)Definite

I'm implementing a spectral clustering algorithm and I have to ensure that a matrix (laplacian) is positive semi-definite. A check …

c++ eigen eigen3
Multiplication of each matrix column by each vector element using Eigen C++ Library

I need to multiply each matrix column by each vector element using Eigen C++ library. I tried colwise without success. …

c++ matrix eigen
Check if any element of Eigen::Matrix is different from zero

I have an Eigen::Matrix<double, Dynamic, Dynamic>, and I need to check if any of its elements …

c++ matrix eigen any
Principal Component Analysis with Eigen Library

I'm trying to compute the 2 major principal components from a dataset in C++ with Eigen. The way I do it …

c++ eigen pca