Rdata File.Read Matrix Method
Definition
Namespace: Extreme.Data.R
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Overload List
Read | Reads a matrix from the specified file. |
Read | Reads the matrix with the specified name from a stream. |
Read | Reads a matrix from the specified file. |
Read | Reads the matrix with the specified name from a file. |
ReadMatrix<T>(Stream)
Reads a matrix from the specified file.
public static Matrix<T> ReadMatrix<T>(
Stream stream
)
Parameters
- stream Stream
- The stream to read from.
Type Parameters
- T
Return Value
Matrix<T>The matrix that was read from the stream.
ReadMatrix<T>(Stream, String)
Reads the matrix with the specified name from a stream.
public static Matrix<T> ReadMatrix<T>(
Stream stream,
string name
)
Parameters
Type Parameters
- T
Return Value
Matrix<T>The matrix that was read from the stream.
ReadMatrix<T>(String, Boolean)
Reads a matrix from the specified file.
public static Matrix<T> ReadMatrix<T>(
string path,
bool strict
)
Parameters
- path String
- The file to read from.
- strict Boolean
- Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).
Type Parameters
- T
Return Value
Matrix<T>The matrix that was read from the file.
ReadMatrix<T>(String, String, Boolean)
Reads the matrix with the specified name from a file.
public static Matrix<T> ReadMatrix<T>(
string path,
string name,
bool strict = false
)
Parameters
- path String
- The file to read from.
- name String
- The name of the matrix to read.
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).
Type Parameters
- T
Return Value
Matrix<T>The matrix that was read from the file.