MatrixMarketFile Class

Provides static methods for reading and writing files in Matrix Market format.

Definition

Namespace: Numerics.NET.Data.Text
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
C#
public static class MatrixMarketFile
Inheritance
Object  →  MatrixMarketFile

Remarks

see http://math.nist.gov/MatrixMarket/formats.html for more information.

Methods

Append Opens a data stream in delimited-text format for writing.
Create Creates a data file in delimited text format for writing.
Open(Stream, TextOptions) Opens a data stream in Matrix Market format for reading.
Open(String, TextOptions) Opens a data file in Matrix Market format for reading.
ReadComplexMatrix<T>(Stream, TextOptions) Reads a complex matrix from a stream in Matrix Market format.
ReadComplexMatrix<T>(String, TextOptions) Reads a complex matrix from a file in Matrix Market format.
ReadComplexVector<T>(Stream, TextOptions) Reads a complex vector from a stream in Matrix Market format.
ReadComplexVector<T>(String, TextOptions) Reads a complex vector from a file in Matrix Market format.
ReadDataFrame(Stream, TextOptions) Reads a data frame from a stream in Matrix Market format.
ReadDataFrame<R, C>(Stream, TextOptions) Reads a data frame from a stream in Matrix Market format.
ReadMatrix<T>(Stream, TextOptions) Reads a matrix from a stream in Matrix Market format.
ReadMatrix<T>(String, TextOptions) Reads a matrix from a file in Matrix Market format.
ReadVector<T>(Stream, TextOptions) Reads a vector from a stream in Matrix Market format.
ReadVector<T>(String, TextOptions) Reads a vector from a file in Matrix Market format.
Write<T>(Stream, Matrix<T>, TextOptions) Writes a matrix from a stream in delimited text format.
Write<T>(Stream, Matrix<Complex<T>>, TextOptions) Writes a complex matrix from a stream in delimited text format.
Write<T>(Stream, Vector<T>, TextOptions) Writes a vector from a stream in delimited text format.
Write<T>(Stream, Vector<Complex<T>>, TextOptions) Writes a complex vector from a stream in delimited text format.
Write<T>(String, Matrix<T>, TextOptions) Writes a matrix to a file in delimited text format.
Write<T>(String, Matrix<Complex<T>>, TextOptions) Writes a complex matrix to a file in delimited text format.
Write<T>(String, Vector<T>, TextOptions) Writes a vector to a file in delimited text format.
Write<T>(String, Vector<Complex<T>>, TextOptions) Writes a complex vector to a file in delimited text format.

See Also