RdsFile.WriteMatrix<T> Method

Saves a matrix to an R data file.

Definition

Namespace: Extreme.Data.R
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static void WriteMatrix<T>(
	Matrix<T> matrix,
	string path,
	bool compress = true,
	bool ascii = false
)

Parameters

matrix  Matrix<T>
The matrix to serialize.
path  String
The path to the file to save to.
compress  Boolean  (Optional)
(Optional.) Specifies whether the output should be compressed using gzip compression. The default is true.
ascii  Boolean  (Optional)
(Optional.) Specifies whether the output should be written in ASCII format as opposed to binary. The default is false.

Type Parameters

T

See Also