Writes a matrix to the specified file.
Namespace:
Extreme.Data.R
Assembly:
Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
public static void Write<T>(
Stream stream,
Matrix<T> matrix,
string name = "matrix",
bool compress = true,
bool ascii = false
)
Public Shared Sub Write(Of T) (
stream As Stream,
matrix As Matrix(Of T),
Optional name As String = "matrix",
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename T>
static void Write(
Stream^ stream,
Matrix<T>^ matrix,
String^ name = L"matrix",
bool compress = true,
bool ascii = false
)
static member Write :
stream : Stream *
matrix : Matrix<'T> *
?name : string *
?compress : bool *
?ascii : bool
(* Defaults:
let _name = defaultArg name "matrix"
let _compress = defaultArg compress true
let _ascii = defaultArg ascii false
*)
-> unit
Parameters
- stream
- Type: System.IOStream
The stream to write the matrix to. - matrix
- Type: Extreme.MathematicsMatrixT
The matrix to write. - name (Optional)
- Type: SystemString
A name for the matrix. The default is matrix. - compress (Optional)
- Type: SystemBoolean
Optional. Specifies whether the data
should be compressed. The default is - ascii (Optional)
- Type: SystemBoolean
Optional. Specifies whether the data should
be written in human-readable ASCII format. The default is
.
Type Parameters
- T
- The type of the elements of the matrix.
Reference