Eigen::saveMarketVector() compatibility with other programs
The function Eigen::saveMarketVector() produces an array in the matrix market format. However, the lis programs (https://www.ssisc.org/lis/index.en.html) that accept a matrix market vector give a "syntax error" on the file produced by Eigen::saveMarketVector().
The lis accepted format is
%%MatrixMarket vector coordinate [real|complex] general
number of rows
1 v[1]
2 v[2]
...
The file produced by Eigen has the structure
%% MatrixMarket matrix array [real|complex] general
number of rows 1
v[1]
v[2]
...
Should we change the Eigen format? I only need to work with lis so I made the change locally, but maybe other users have the same problem