Writes a sequence of vectors to the specified file.
Namespace:
Extreme.Data.R
Assembly:
Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
public static void Write<T>(
string path,
IEnumerable<Vector<T>> vectors,
bool compress = true,
bool ascii = false
)
Public Shared Sub Write(Of T) (
path As String,
vectors As IEnumerable(Of Vector(Of T)),
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename T>
static void Write(
String^ path,
IEnumerable<Vector<T>^>^ vectors,
bool compress = true,
bool ascii = false
)
static member Write :
path : string *
vectors : IEnumerable<Vector<'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 vectors to. - vectors
- Type: System.Collections.GenericIEnumerableVectorT
A sequence of 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