Matlab File.Read All Matrices Method
Definition
Namespace: Numerics.NET.Data.Matlab
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 matrices from a stream. |
Read | Reads all matrices from a Matlab® data file. |
ReadAllMatrices<T>(Stream, Boolean)
Reads all matrices from a stream.
public static Dictionary<string, Matrix<T>> ReadAllMatrices<T>(
Stream stream,
bool strict = true
)
Parameters
- stream Stream
- The stream to read from.
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true, the default), or whether conversions are allowed (false).
Type Parameters
- T
Return Value
Dictionary<String, Matrix<T>>A dictionary containing all the matrices read from the stream using their name as the key.
ReadAllMatrices<T>(String, Boolean)
Reads all matrices from a Matlab® data file.
public static Dictionary<string, Matrix<T>> ReadAllMatrices<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, the default), or whether conversions are allowed (false).
Type Parameters
- T
Return Value
Dictionary<String, Matrix<T>>A dictionary containing all the matrices read from the file using their name as the key.