Hello,
I have a question regarding the sparse QR implementation in the latest development build of Eigen.
However, I get the following compilation error:
error: conversion from 'Eigen::SparseQRMatrixQReturnType<Eigen::SparseQR<Eigen::SparseMatrix<double>, Eigen::COLAMDOrdering<int> > >' to non-scalar type 'Eigen::SparseMatrix<double>' requested
The following is the relevant code snippet. Let's say I have a "SparseMatrix<double> left" defined beforehand.
typedef SparseQR<SparseMatrix<double>, COLAMDOrdering<int> > sparseqr;
sparseqr qr_factorizer;
qr_factorizer.analyzePattern(left);
qr_factorizer.factorize(left);
SparseMatrix<double> q_l = sparseqr(left).matrixQ();
Any assistance on this would be appreciated.
Avneesh