DataFrame<R, C>.ToMatrix<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#
public virtual Matrix<T> ToMatrix<T>(
	bool skipMismatchedColumns = true,
	bool strict = false
)

Parameters

skipMismatchedColumns  Boolean  (Optional)
 
strict  Boolean  (Optional)
 

Type Parameters

T
The element type of the matrix.

Return Value

Matrix<T>
A matrix

Exceptions

InvalidCastException

The element type of one or more columns cannot be converted to T.

See Also