Rdata File.Read All Vectors Method
Definition
Namespace: Numerics.NET.Data.R
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
Overload List
Read | Reads all vectors from a stream. |
Read | Reads all vectors from a file. |
ReadAllVectors<T>(Stream)
Reads all vectors from a stream.
public static Dictionary<string, Vector<T>> ReadAllVectors<T>(
Stream stream
)
Parameters
- stream Stream
- The stream to read from.
Type Parameters
- T
Return Value
Dictionary<String, Vector<T>>A dictionary containing all the vectors read from the stream using their name as the key.
ReadAllVectors<T>(String, Boolean)
Reads all vectors from a file.
public static Dictionary<string, Vector<T>> ReadAllVectors<T>(
string path,
bool strict = true
)
Parameters
- path String
- The file to read from.
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).
Type Parameters
- T
Return Value
Dictionary<String, Vector<T>>A dictionary containing all the vectors read from the file using their name as the key.