Skip to main content
2 votes
0 answers
121 views

I’m maintaining a large C++ project that uses Eigen for solving large sparse systems (via SparseLU) and other dense operations. What changed I upgraded from Eigen 3.4.1 to Eigen 5.0.0. After the ...
dthomane's user avatar
4 votes
1 answer
229 views

I'm playing with SIMD and I failed to see any improvements using even in simplest example. My toy program compute gradient of image (simple substract upper row from lower, scale by half and store ...
CzakCzan's user avatar
  • 107
1 vote
1 answer
137 views

I get the following error when compiling my C++17 project that uses the Eigen 5.0.1 library; I didn't see this error when using Eigen 3.4.0 on the same machine: <path>/eigen-5.0.1/Eigen/src/Core/...
josh_eime's user avatar
  • 308
1 vote
1 answer
125 views

Summary Using the Eigen library, I see significantly different numbers of BiCGStab iterations when I solve Ax = b with a right-preconditioner, i.e., [A M^(-1)] Mx = b, (a) by precomputing A M^(-1) ...
josh_eime's user avatar
  • 308
4 votes
1 answer
404 views

I'm testing int matrix multiplication, but I found that it's extremely slow everywhere (python numpy using BLAS backend is also just as slow). Int matmul being slower than float matmul is ...
Huy Le's user avatar
  • 2,009
6 votes
0 answers
255 views

Given the concept, template <typename T> concept CanFoo = requires(Eigen::Array2d const& x) { { T::Foo(x) } -> std::same_as<double>; }; I expect, as someone new to actually ...
Jack's user avatar
  • 61
3 votes
0 answers
149 views

I work on a C++ project which intensively uses Eigen's matrices/vectors. Their sizes are not known at compile time; however, in majority of cases, the number of elements is relatively small (say up to ...
Daniel Langr's user avatar
  • 24.4k
0 votes
0 answers
77 views

I would like to zero-extend a custom vector and give it a MatrixBase interface such that the extended vector can be used passed to the SparseLU solver. Essentially, my attempt looks like this ...
Olumide's user avatar
  • 5,931
0 votes
1 answer
67 views

Is there a way to simultaneously broadcast rows and columns? The following MWE does not work: #include <iostream> #include <Eigen/Dense> int main() { std::cout << "Hello, ...
KeynesCoeFen's user avatar
0 votes
1 answer
212 views

Say I have a PxQ matrix, Eigen::MatrixXd M, that represents K different RxQ-dimensional data stacked into rows (such that K*R==P). Such a scenario is common when we have data of the form: <--- ...
WesT's user avatar
  • 13
0 votes
0 answers
100 views

I want to build Eigen3 on windows from source (verison 3.4.0). I have two problems: When I try to configure it with Visual Studio 17 2022 (MSVC 19.42.34438.0), It's telling me that CXX 11 is not ...
Reza Masoumi's user avatar
1 vote
1 answer
99 views

The following code multiplies the i-th column of A by the i-th element of V. #include <Eigen/Core> Eigen::Array<double, 8, 2> f(const Eigen::Array<double, 8, 2>& A, const Eigen::...
YiFei's user avatar
  • 1,898
1 vote
0 answers
122 views

I have a c++ code that uses Eigen for linear algebra calculations. The code runs on a cluster where there is a module with Intel MKL. I am completely ignorant of how to do it but I wanted to try to ...
Ratman's user avatar
  • 111
1 vote
1 answer
116 views

I use Eigen library in my C++ project and I don't understand how to pass an Eigen::Vector in parameter of my function. I have in my main function : Eigen::Vector<double, 3> direction_vector_ned =...
LnlB's user avatar
  • 320
2 votes
1 answer
96 views

I'm writing code to implement rotation matrix/Direction Cosine Matrix (DCM). I know the rotation angle at compile time, so in order to save on execution time, I wish to initialize the rotation matrix ...
Dark Sorrow's user avatar
  • 2,041

15 30 50 per page
1
2 3 4 5
239