Block operations for sparse matrices - Eigen Toolbox - C++ #include "Eigen/Dense" #include "Eigen/Sparse" #include using namespace std; using namespace Eigen; int main() { MatrixXd silly(6, 3); silly sparse_silly,temp; sparse_silly= Eigen::SparseMatrix(6, 3); temp = Eigen::SparseMatrix(6, 3); sparse_silly = silly.sparseView(); std::cout
In the above code, the block operations for sparse matrices are not working using Eigen toolbox. I want a assign a block from a sparse_silly to a block in temp matrix. The output printed is zero for the temp matrix.Can anyone help me if i missed something conceptually. The recent documentation says block operations are availble for sparse matrices.