how to convert UMFpack sparse matrix to Eigen sparse matrix?

219 Views Asked by At

I have a code that was written to use UMFpack sparse matrix solver but need to convert it to Eigen sparse matrix but I am running into memory problems.

I have Ai (row pointers), Ap (column pointers) and Ax (array). Trying to solve Ax=b. How can I pass these pointers and Ax or change them for Eigen?

0

There are 0 best solutions below