Writes the matrices in a collection to the specified file.
Namespace: Extreme.Data.RAssembly: Extreme.Data (in Extreme.Data.dll) Version: 1.0.16170.0 (1.0.16170.0)
public static void Write<T>(
string path,
IDictionary<string, Matrix<T>> matrices,
bool compress = true,
bool ascii = false
)
Public Shared Sub Write(Of T) (
path As String,
matrices As IDictionary(Of String, Matrix(Of T)),
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename T>
static void Write(
String^ path,
IDictionary<String^, Matrix<T>^>^ matrices,
bool compress = true,
bool ascii = false
)
static member Write :
path : string *
matrices : IDictionary<string, Matrix<'T>> *
?compress : bool *
?ascii : bool
(* Defaults:
let _compress = defaultArg compress true
let _ascii = defaultArg ascii false
*)
-> unit
Parameters
- path
- Type: SystemString
The file to write the matrices to. - matrices
- Type: System.Collections.GenericIDictionaryString, MatrixT
A dictionary that maps names to the matrices
to write. - 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.
Numerical Libraries
Supported in: 6.0
Reference