Reads a matrix from a file in fixed-width text format.
Namespace: Extreme.Data.TextAssembly: Extreme.Data (in Extreme.Data.dll) Version: 1.0.16170.0 (1.0.16170.0)
public static Matrix<T> ReadMatrix<T>(
string path,
FixedWidthTextOptions options
)
Public Shared Function ReadMatrix(Of T) (
path As String,
options As FixedWidthTextOptions
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ ReadMatrix(
String^ path,
FixedWidthTextOptions^ options
)
static member ReadMatrix :
path : string *
options : FixedWidthTextOptions -> Matrix<'T>
Parameters
- path
- Type: SystemString
The path to the file. - options
- Type: Extreme.Data.TextFixedWidthTextOptions
A FixedWidthTextOptions object
that specifies the options to use when reading the file.
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