Reads a matrix from an R file in RDS format.
Namespace: Extreme.Data.RAssembly: Extreme.Data (in Extreme.Data.dll) Version: 1.0.16170.0 (1.0.16328.0)
public static Matrix<T> ReadMatrix<T>(
string path,
bool strict = true
)
Public Shared Function ReadMatrix(Of T) (
path As String,
Optional strict As Boolean = true
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ ReadMatrix(
String^ path,
bool strict = true
)
static member ReadMatrix :
path : string *
?strict : bool
(* Defaults:
let _strict = defaultArg strict true
*)
-> Matrix<'T>
Parameters
- path
- Type: SystemString
The path to the file. - strict (Optional)
- Type: SystemBoolean
Specifies whether the element type
should be matched exactly (, the default), or whether
conversions are allowed ().
Type Parameters
- T
- The element type of the matrix.
Return Value
Type:
MatrixTThe data frame that was read from the file
pointed to by
path.
The element type of the stored matrix does not have
to match the element type of the returned matrix.
However, casting values from this type to
type T must succeed.
Numerical Libraries
Supported in: 6.0
Reference