Dense to Sparse VI
- Updated2023-02-21
- 3 minute(s) read
Dense to Sparse VI
Owning Palette: Matrix VIs
Requires: Multicore Analysis and Sparse Matrix Toolkit
Converts a dense matrix to a sparse matrix that contains only nonzero elements.
Wire data to the Dense Matrix input to determine the polymorphic instance to use or manually select the instance.
Dense to Sparse (DBL)

![]() |
Dense Matrix specifies the input dense matrix to convert to a sparse matrix. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
Sparse Matrix returns the sparse matrix that this VI converts from Dense Matrix that contains only nonzero elements. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Dense to Sparse (SGL)

![]() |
Dense Matrix specifies the input dense matrix to convert to a sparse matrix. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
Sparse Matrix returns the sparse matrix that this VI converts from Dense Matrix that contains only nonzero elements. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Dense to Sparse (CDB)

![]() |
Dense Matrix specifies the input dense matrix to convert to a sparse matrix. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
Sparse Matrix returns the sparse matrix that this VI converts from Dense Matrix that contains only nonzero elements. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Dense to Sparse (CSG)

![]() |
Dense Matrix specifies the input dense matrix to convert to a sparse matrix. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
Sparse Matrix returns the sparse matrix that this VI converts from Dense Matrix that contains only nonzero elements. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Dense to Sparse Details
The following table lists the support characteristics of this VI.
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | No |






