Hi, I need to compute nullspaces of psd sparse matrices. However , I am not happy with the performance of the SParseQR and planned to try SPQR. However matrixQ of SPQR is returning a different type of variable than SparseQR. You may see the compilation error below. I need convert SPQRMatrixQReturnType to plain sparsematrix. Are they any way or any workaround or planned patch for this problem. error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Eigen::SPQRMatrixQReturnType<Eigen::SPQR<Eigen::SparseMatrix<double,0,int>>>' (or there is no acceptable conversion)
Patch welcome! SPQR stores its factors in its own format, so first thing to do is to check SPQR documentation to see whether it offers routines to extract Q, and if so, then follow SparseQR implementation. Otherwise, maybe you don't need to explicitly extract Q, maybe all you need is to apply Q or Q^T? Also, feel free to contribute your null space extraction routine as a SparseQR::kernel() method ;)
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1121.