DataTableWrapperToRowMatrix(DataColumnCollection, IAscendingIntegerCollection, Int32) Method |
Wrapps a set of
DataColumns into a writeable matrix so that the matrix rows corresponds to the
DataColumns.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static IMatrix<double> ToRowMatrix(
DataColumnCollection collection,
IAscendingIntegerCollection selectedColumns,
int nRows
)
Parameters
- collection DataColumnCollection
- DataColumnCollection from which to select the data columns that are part of the matrix by their indices.
- selectedColumns IAscendingIntegerCollection
- The indices of the data columns in the collection that are part of the matrix. You can subsequently change this parameter without affecting this wrapper.
- nRows Int32
- Number of rows of the data table that participate in the matrix (starting from index 0). Remember that this are the columns of the wrapped matrix.
Return Value
IMatrixDoubleThe wrapping writeable matrix.
See Also