RdataFile.Write<T>(Stream, Matrix<T>, String, Boolean, Boolean) Method

Writes a matrix to the specified file.

Definition

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

Parameters

stream  Stream
The stream to write the matrix to.
matrix  Matrix<T>
The matrix to write.
name  String  (Optional)
A name for the matrix. The default is matrix.
compress  Boolean  (Optional)
Optional. Specifies whether the data should be compressed. The default is true.
ascii  Boolean  (Optional)
Optional. Specifies whether the data should be written in human-readable ASCII format. The default is false.

Type Parameters

T
The type of the elements of the matrix.

See Also