ChemometricCommandsMultiplyColumnsToMatrix(AltaxoDocument, DataTable, IAscendingIntegerCollection) Method |
Multiplies selected columns to form a matrix.
Namespace: Altaxo.Worksheet.Commands.AnalysisAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static string? MultiplyColumnsToMatrix(
AltaxoDocument mainDocument,
DataTable srctable,
IAscendingIntegerCollection selectedColumns
)
Parameters
- mainDocument AltaxoDocument
[Missing <param name="mainDocument"/> documentation for "M:Altaxo.Worksheet.Commands.Analysis.ChemometricCommands.MultiplyColumnsToMatrix(Altaxo.AltaxoDocument,Altaxo.Data.DataTable,Altaxo.Collections.IAscendingIntegerCollection)"]
- srctable DataTable
[Missing <param name="srctable"/> documentation for "M:Altaxo.Worksheet.Commands.Analysis.ChemometricCommands.MultiplyColumnsToMatrix(Altaxo.AltaxoDocument,Altaxo.Data.DataTable,Altaxo.Collections.IAscendingIntegerCollection)"]
- selectedColumns IAscendingIntegerCollection
[Missing <param name="selectedColumns"/> documentation for "M:Altaxo.Worksheet.Commands.Analysis.ChemometricCommands.MultiplyColumnsToMatrix(Altaxo.AltaxoDocument,Altaxo.Data.DataTable,Altaxo.Collections.IAscendingIntegerCollection)"]
Return Value
StringNull if successful, else the description of the error.
Remarks The 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