Hi
With the "MathNet.Numerics.Data.Text" and "System.Globalization" namespaces open, try:
Thanks,
Christoph
With the "MathNet.Numerics.Data.Text" and "System.Globalization" namespaces open, try:
let matrix = DelimitedReader.ReadFile<float>("data.csv", false, ",", true, CultureInfo.InvariantCulture)
In addition to ReadFile
there is also Read
to read from a TextReader (e.g. a StringReader if you have the content already as string) and ReadStream
to read from a stream.Thanks,
Christoph