DataTableWrapperToColumnMatrix(DataColumnCollection, IAscendingIntegerCollection, IAscendingIntegerCollection) Method |
Wraps a set of
DataColumns into a writeable matrix so that the matrix columns 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> ToColumnMatrix(
DataColumnCollection collection,
IAscendingIntegerCollection selectedColumns,
IAscendingIntegerCollection selectedRows
)
Parameters
- collection DataColumnCollection
- Collection of DataColumns.
- selectedColumns IAscendingIntegerCollection
- Set set of indices into the collection that are part of the matrix. You can subsequently change this parameter without affecting this wrapper.
- selectedRows IAscendingIntegerCollection
- The set of rows that are part of the matrix. This collection will be cloned here, i.e. you can subsequently change it without affecting this wrapper.
Return Value
IMatrixDoubleThe wrapping writeable matrix.
See Also