The inputs and outputs of this program are Matrix Market Vector Format files.
For the complex values, the given spectrum is stored in three columns, the first column is the coordinates, the second column is the real part of complex values, and the third column is the imaginary part of complex values.
For the real values, the given spectrum is stored in two columns, the first column is the coordinates, the second column is related values.
%%MatrixMarket matrix coordinate complex general
3 3 3
1 10 6.5154
2 10.6288 3.4790
3 10.7621 5.0540
%%MatrixMarket matrix coordinate real general
3 3
1 10
2 10.6288
3 10.7621