Writes the vectors in a collection 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,
IDictionary<string, Vector<T>> vectors,
bool compress = true,
bool ascii = false
)
Public Shared Sub Write(Of T) (
stream As Stream,
vectors As IDictionary(Of String, Vector(Of T)),
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename T>
static void Write(
Stream^ stream,
IDictionary<String^, Vector<T>^>^ vectors,
bool compress = true,
bool ascii = false
)
static member Write :
stream : Stream *
vectors : IDictionary<string, Vector<'T>> *
?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 vectors to. - vectors
- Type: System.Collections.GenericIDictionaryString, VectorT
A dictionary that maps names to the vectors
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 vectors.
Reference