Matrix<T>.ToDataFrame Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ToDataFrame<R, C>() Converts a matrix to a data frame with the same row and column indexes.
ToDataFrame<R, C>(Index<R>, Index<C>) Converts a matrix to a data frame with the same row and column indexes.

ToDataFrame<R, C>

Converts a matrix to a data frame with the same row and column indexes.
C#
public DataFrame<R, C> ToDataFrame<R, C>()

Type Parameters

R
The element type of the row index.
C
The element type of the column index.

Return Value

DataFrame<R, C>
A data frame with the same values as the matrix.

ToDataFrame<R, C>(Index<R>, Index<C>)

Converts a matrix to a data frame with the same row and column indexes.
C#
public DataFrame<R, C> ToDataFrame<R, C>(
	Index<R> rowIndex,
	Index<C> columnIndex
)

Parameters

rowIndex  Index<R>
 
columnIndex  Index<C>
 

Type Parameters

R
The element type of the row index.
C
The element type of the column index.

Return Value

DataFrame<R, C>
A data frame with the same values as the matrix.

See Also