Writes a sequence of matrices 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,
IEnumerable<Matrix<T>> matrices,
IEnumerable<string> names,
bool compress = true,
bool ascii = false
)
Public Shared Sub Write(Of T) (
stream As Stream,
matrices As IEnumerable(Of Matrix(Of T)),
names As IEnumerable(Of String),
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename T>
static void Write(
Stream^ stream,
IEnumerable<Matrix<T>^>^ matrices,
IEnumerable<String^>^ names,
bool compress = true,
bool ascii = false
)
static member Write :
stream : Stream *
matrices : IEnumerable<Matrix<'T>> *
names : IEnumerable<string> *
?compress : bool *
?ascii : bool
(* Defaults:
let _compress = defaultArg compress true
let _ascii = defaultArg ascii false
*)
-> unit
Parameters
- stream
- Type: System.IOStream
The stream to write the matrices to. - matrices
- Type: System.Collections.GenericIEnumerableMatrixT
A sequence of matrices to write. - names
- Type: System.Collections.GenericIEnumerableString
A sequence of corresponding names
for the matrices. - 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 matrices.
Reference