LabVIEW Multicore Analysis and Sparse Matrix Toolkit API Reference

Concatenate Matrix VI

  • Updated2023-02-21
  • 6 minute(s) read

Concatenate Matrix VI

Owning Palette: Matrix VIs

Requires: Multicore Analysis and Sparse Matrix Toolkit

Concatenates two sparse matrices by row, column, or diagonal.

Wire data to the A and B inputs to determine the polymorphic instance to use or manually select the instance.

Details  

Concatenate Sparse Matrix (DBL)

A specifies the first sparse matrix.
B specifies the second sparse matrix.
direction specifies the direction to concatenate A and B.

0Row—Specifies that this VI concatenates A and B by row. LabVIEW adds B to the last row starting with the first column in A.
1Column (default)—Specifies this that VI concatenates A and B by column. LabVIEW adds B to the last column starting with the first row in A.
2Diagonal—Specifies that this VI concatenates A and B by diagonal. LabVIEW adds B to the last row starting with the last column in A.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Concatenated Matrix returns the concatenated sparse matrix of A and B.
error out contains error information. This output provides standard error out functionality.

Concatenate Sparse Matrix (SGL)

A specifies the first sparse matrix.
B specifies the second sparse matrix.
direction specifies the direction to concatenate A and B.

0Row—Specifies that this VI concatenates A and B by row. LabVIEW adds B to the last row starting with the first column in A.
1Column (default)—Specifies this that VI concatenates A and B by column. LabVIEW adds B to the last column starting with the first row in A.
2Diagonal—Specifies that this VI concatenates A and B by diagonal. LabVIEW adds B to the last row starting with the last column in A.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Concatenated Matrix returns the concatenated sparse matrix of A and B.
error out contains error information. This output provides standard error out functionality.

Concatenate Sparse Matrix (CDB)

A specifies the first sparse matrix.
B specifies the second sparse matrix.
direction specifies the direction to concatenate A and B.

0Row—Specifies that this VI concatenates A and B by row. LabVIEW adds B to the last row starting with the first column in A.
1Column (default)—Specifies this that VI concatenates A and B by column. LabVIEW adds B to the last column starting with the first row in A.
2Diagonal—Specifies that this VI concatenates A and B by diagonal. LabVIEW adds B to the last row starting with the last column in A.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Concatenated Matrix returns the concatenated sparse matrix of A and B.
error out contains error information. This output provides standard error out functionality.

Concatenate Sparse Matrix (CSG)

A specifies the first sparse matrix.
B specifies the second sparse matrix.
direction specifies the direction to concatenate A and B.

0Row—Specifies that this VI concatenates A and B by row. LabVIEW adds B to the last row starting with the first column in A.
1Column (default)—Specifies this that VI concatenates A and B by column. LabVIEW adds B to the last column starting with the first row in A.
2Diagonal—Specifies that this VI concatenates A and B by diagonal. LabVIEW adds B to the last row starting with the last column in A.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Concatenated Matrix returns the concatenated sparse matrix of A and B.
error out contains error information. This output provides standard error out functionality.

Concatenate Matrix Details

The following table lists the support characteristics of this VI.

Supported on RT targets Yes
Suitable for bounded execution times on RT No

Let A be an m-by-n matrix and B a p-by-q matrix. Let C be the concatenated matrix of A and B.

Concatenate A and B by Row

C is a (m+p)-by-max(n, q) matrix.

Concatenate A and B by Column

C is a max(m, p)-by-(n+q) matrix.

Concatenate A and B by Diagonal

C is a (m+p)-by-(n+q) matrix.