Data Frame<R, C>.To Matrix<T> Method
Converts the data frame to a matrix with elements of the specified type.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public virtual Matrix<T> ToMatrix<T>(
bool skipMismatchedColumns = true,
bool strict = false
)
Parameters
Type Parameters
- T
- The element type of the matrix.
Return Value
Matrix<T>A matrix
Exceptions
Invalid | The element type of one or more columns cannot be converted to T. |