Click or drag to resize

DataTableWrapperToROColumnMatrix(DataColumnCollection, IAscendingIntegerCollection, IAscendingIntegerCollection) Method

Wraps a set of DataColumns into a readonly matrix so that the matrix columns corresponds to the DataColumns.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IROMatrix<double> ToROColumnMatrix(
	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

IROMatrixDouble
The wrapping read only matrix.
See Also