Saves a vector to an R data file.
Namespace:
Extreme.Data.R
Assembly:
Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
public static void WriteVector<T>(
Vector<T> vector,
string path,
bool compress = true,
bool ascii = false
)
Public Shared Sub WriteVector(Of T) (
vector As Vector(Of T),
path As String,
Optional compress As Boolean = true,
Optional ascii As Boolean = false
)
public:
generic<typename T>
static void WriteVector(
Vector<T>^ vector,
String^ path,
bool compress = true,
bool ascii = false
)
static member WriteVector :
vector : Vector<'T> *
path : string *
?compress : bool *
?ascii : bool
(* Defaults:
let _compress = defaultArg compress true
let _ascii = defaultArg ascii false
*)
-> unit
Parameters
- vector
- Type: Extreme.MathematicsVectorT
The vector to serialize. - path
- Type: SystemString
The path to the file to save to. - compress (Optional)
- Type: SystemBoolean
(Optional.) Specifies whether the
output should be compressed using gzip compression.
The default is .
- ascii (Optional)
- Type: SystemBoolean
(Optional.) Specifies whether the
output should be written in ASCII format as opposed to
binary. The default is .
Type Parameters
- T
Reference