I'm trying to write a DenseMatrix object to a csv file using DelimitedWriter like so:
And this:
DelimitedWriter.WriteFile(originalData, "written.csv", ",");
A red line would appear saying that the type arguments for the method cannot be inferred from the usage and to specify the type arguments explicitly. So I tried doing this:DelimitedWriter.WriteFile<Double>(originalData, "written.csv", ",");
to which I got, "The best overloaded match... has some invalid arguments".And this:
DelimitedWriter.WriteFile<Double>(originalData<Double>, "written.csv", ",");
to which I got originalData cannot be used with type arguments. I also tried casting originalData as a Matrix (rather than DenseMatrix) but that did not work either. I'm not sure what I'm missing here. Someone on Stack Overflow said that this may be due to an issue with the new version -- when he reverted to his old version, it worked fine. Any ideas?