ChemometricCommandsMultiplyColumnsToMatrix(AltaxoDocument, DataTable, IAscendingIntegerCollection) Method |
Multiplies selected columns to form a matrix.
Namespace: Altaxo.Worksheet.Commands.AnalysisAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static string? MultiplyColumnsToMatrix(
AltaxoDocument mainDocument,
DataTable srctable,
IAscendingIntegerCollection selectedColumns
)
Parameters
- mainDocument AltaxoDocument
- The main document.
- srctable DataTable
- The source table.
- selectedColumns IAscendingIntegerCollection
- The selected columns.
Return Value
StringNull if successful, else the description of the error.
RemarksThe user must select an even number of columns. All columns of the first half of the selection
must have the same number of rows, and all columns of the second half of selection must also have the same
number of rows. The first half of selected columns form a matrix of dimensions(firstrowcount,halfselected), and the second half
of selected columns form a matrix of dimension(halfselected, secondrowcount). The resulting matrix has dimensions (firstrowcount,secondrowcount) and is
stored in a separate worksheet.
See Also