Writes a vector 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,
Vector<T> vector,
string name = "vector",
bool compress = true,
bool ascii = false
)
Public Shared Sub Write(Of T) (
path As String,
vector As Vector(Of T),
Optional name As String = "vector",
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename T>
static void Write(
String^ path,
Vector<T>^ vector,
String^ name = L"vector",
bool compress = true,
bool ascii = false
)
static member Write :
path : string *
vector : Vector<'T> *
?name : string *
?compress : bool *
?ascii : bool
(* Defaults:
let _name = defaultArg name "vector"
let _compress = defaultArg compress true
let _ascii = defaultArg ascii false
*)
-> unit
Parameters
- path
- Type: SystemString
The file to write the vector to. - vector
- Type: Extreme.MathematicsVectorT
The vector to write. - name (Optional)
- Type: SystemString
A name for the vector. The default is vector. - 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 vector.
Reference