eigen
efficient computation of Trace(AB^{-1}) given A and B
I have two square matrices A and B. A is symmetric, B is symmetric positive definite. I would like to compute $trace(A.B^{-1})$. For now, I compute the Cholesky decomposition of B, solve for C in the[详细]
2023-04-06 09:03 分类:问答Sparse matrix class with parameterizable "zero"
I am doing some computations on a sparse matrix of floats in the log domain, so the \"empty\" entries are actually -Inf (using -FLT_MAX).I\'m using a custom sparse matrix class right now but I am eage[详细]
2023-04-01 18:14 分类:问答Copy select rows into new matrix
I want to copy the rows 0, 2 and 4 of my matrix A into B, in this order. Let A = [a0, a1, a2, a3, a4]^T , with a_i being row-vectors,[详细]
2023-03-26 17:27 分类:问答Eigen and cholesky decomposition: instability issues?
I\'m working on a 3-D surface mesh and trying to obtain gaussian curvature values by fitting a quadric polynomial to each vertex neighborhood. In order to obtain the polynomial coefficients I\'m using[详细]
2023-03-23 08:03 分类:问答Multiplying Transform and Matrix types in Eigen
To me this should just work, so the fact it does not, almost certainly means I am the one in the wrong.Even though in principle a Transform< double, 3, Affine > is the same as a Matrix< double,[详细]
2023-03-21 02:52 分类:问答MVP matrix not working outside of shader?
Odd problem here, I\'ve been converting my current project from Qt\'s native matrix/vector classes to Eigen\'s, but I\'ve come across an issue that I can\'t work out.[详细]
2023-03-20 18:25 分类:问答Compiling Eigen library for iPhone with vectorisation
I am struggling with the compilation of Eigen library for iPhone 4 which has an ARM processor with armv7 instruction set. Everything works fine so far when I specify the preprocessor define EIGEN_DONT[详细]
2023-03-10 19:02 分类:问答Error C2719 in header files - without using stl:vector
I have some problems with compiling my code. There are couple of functions which can\'t be compiled because of error C2719 - formal parameter with __declspec(align(\'16\')) won\'t be aligned.[详细]
2023-03-09 17:52 分类:问答Worse performance using Eigen than using my own class
A couple of weeks ago I asked a question about the performance of matrix multiplication. I was told that in order to enhance the performance of my program I should use some specialised matrix classes[详细]
2023-03-09 08:37 分类:问答CMake Can't find Eigen3
I have copied FindEigen3.cmake into my source directory. I then added: set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR})[详细]
2023-03-03 09:06 分类:问答