I'm almost sure it's a trivial problem, but I can't understand what wrong is going on. I have a simple array in Eigen that I need to right-shift, so t ...
I'm almost sure it's a trivial problem, but I can't understand what wrong is going on. I have a simple array in Eigen that I need to right-shift, so t ...
While trying to compute the variance of row vectors in large matrices I've noticed an odd behavior with Eigen. If I chain all the required operations ...
Using Eigen 3.4.0 I want to write a function general for any Eigen::Vector. e.g. Eigen provides MatrixBase for any Eigen object, but I want to be ex ...
I'm trying to implement efficient matrix LLT (or LU, whatever) decomposition for some covariance matrix shenanigans. I've been using the Eigen librar ...
This is my first question on stack ! Hope I follow correctly the guidelines... Device Thinkpad series Manjaro KDE (kernel 5.13) Fresh R insta ...
I have this function that is called several times in my code: For the use case I took to benchmark, the input arrays have the following dimensions: ...
. Answers to this question are eligible for a +500 reputation bounty. N ...
I am trying to calculate the lpNorm of a vector with the Eigen library. As it can be seen in the example below, with explicit values, such as v.lpNor ...
Hi I'm using Eigen to roll or vectorise a number of loop operations in a particle filter. In essence I have two matricies Eigen::Matrix<N, 3> ...
There are many operations similar to dot multiplication in my code.but it seems that Eigen's cwise operation does not use use mult-Threads.I tried to ...
How do I perform a matrix vector product using the Eigen library in C++ with a "for loop", when the date type of my variables are in the form Eigen::M ...
Using Eigen3, Is there a more efficient way to calculate PCA? mat is the matrix of raw data: I keep reading that adjoint is an expensive method. T ...
I need a function that is capable of accepting both an Eigen::Map or Eigen::Matrix as input and output an Eigen::Matrix of the same type. Using Eigen ...
I'd like to obtain the set difference between two Eigen matrices. The code: The provided code works of course, but is slow. Ideally one would subst ...
In using the Eigen library, I have a templated C++ class comprising a raw buffer and an Eigen::Map instance as members. In the constructor of the clas ...
I am trying to make code using OpenMP, some class and Eigen. The overall code is at the bottom. The code is a simplified version of what I want to d ...
how can I convert a vector to an eigen arrayxd in c++? The only way I found involve doing: and then making a loop to replace each element individu ...
I am trying to write some generic code which can compute the size of some data. This size is basically the number of elements in an array/tuple like s ...
The Eigen documentation mentions that structures having fixed-size vectorizable Eigen types can cause problems with allocation. They mention: If y ...
I currently have the very simple program. I deactivated copy elision in my compiler and as far as I understand it shouldn't even apply here because th ...