MatrixMarketFile.Write<T>(String, Matrix<T>, TextOptions) Method

Writes a matrix to a file in delimited text format.

Definition

Namespace: Extreme.Data.Text
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static void Write<T>(
	string path,
	Matrix<T> matrix,
	TextOptions options = null
)

Parameters

path  String
The path to the file.
matrix  Matrix<T>
The matrix to write to the file.
options  TextOptions  (Optional)
A TextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the matrix.

Exceptions

FileNotFoundException The specified file does not exist.

See Also