Reads a vector from a file in Matrix Market format.
Namespace: Extreme.Data.TextAssembly: Extreme.Data (in Extreme.Data.dll) Version: 1.0.16170.0 (1.0.16170.0)
public static Vector<T> ReadVector<T>(
string path,
TextOptions options = null
)
Public Shared Function ReadVector(Of T) (
path As String,
Optional options As TextOptions = Nothing
) As Vector(Of T)
public:
generic<typename T>
static Vector<T>^ ReadVector(
String^ path,
TextOptions^ options = nullptr
)
static member ReadVector :
path : string *
?options : TextOptions
(* Defaults:
let _options = defaultArg options null
*)
-> Vector<'T>
Parameters
- path
- Type: SystemString
The path to the file. - options (Optional)
- Type: Extreme.DataTextOptions
A TextOptions object
that specifies the options to use when reading the file.
Type Parameters
- T
- The element type of the vector.
Return Value
Type:
VectorTThe data frame that was read from the file
pointed to by
path.
The element type of the stored vector does not have
to match the element type of the returned vector.
However, casting values from this type to
type T must succeed.
Numerical Libraries
Supported in: 6.0
Reference