You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Controls Namespace > Classes > MtxDataset Class > MtxDataset Methods > MtxDataset.ColumnsToMtx Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MtxDataset.ColumnsToMtx Method

Copies values from all VecColumns to specified matrix.

Syntax
C#
Visual Basic
public void ColumnsToMtx(TMtx dst, bool transpose);
Parameters 
Description 
TMtx dst 
Destination matrix. 
bool transpose 
If true, perform copy AND transpose operation. 

Depending on transpose value constructs a matrix by concating all vectors horizontally or vertically.

Copy all vectors to matrix without transpose operation.

Matrix m = new Matrix(0,0); mtxDataSet1.ColumnsToMtx(m,false); // m stores VeColumns[0].Vector,VecColumn[1].Vector, ... columnwise.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!