Equal VI
- Updated2023-02-21
- 4 minute(s) read
Equal VI
Owning Palette: Comparison VIs
Requires: Multicore Analysis and Sparse Matrix Toolkit
Returns TRUE if two sparse matrices are equal. Otherwise, this VI returns FALSE.
Two matrices are equal if and only if they have the same size and all corresponding elements have the same values.
Wire data to the A and B inputs to determine the polymorphic instance to use or manually select the instance.
Equal Sparse Matrix (DBL)

![]() |
A specifies the first sparse matrix. The number of rows and columns in A must be equal to the number of row and columns in B, respectively. |
![]() |
B specifies the second sparse matrix. The number of rows and columns in B must be equal to the number of row and columns in A, respectively. |
![]() |
A = B? returns TRUE if A is equal to B. Otherwise, returns FALSE. |
Equal Sparse Matrix (SGL)

![]() |
A specifies the first sparse matrix. The number of rows and columns in A must be equal to the number of row and columns in B, respectively. |
![]() |
B specifies the second sparse matrix. The number of rows and columns in B must be equal to the number of row and columns in A, respectively. |
![]() |
A = B? returns TRUE if A is equal to B. Otherwise, returns FALSE. |
Equal Sparse Matrix (CDB)

![]() |
A specifies the first sparse matrix. The number of rows and columns in A must be equal to the number of row and columns in B, respectively. |
![]() |
B specifies the second sparse matrix. The number of rows and columns in B must be equal to the number of row and columns in A, respectively. |
![]() |
A = B? returns TRUE if A is equal to B. Otherwise, returns FALSE. |
Equal Sparse Matrix (CSG)

![]() |
A specifies the first sparse matrix. The number of rows and columns in A must be equal to the number of row and columns in B, respectively. |
![]() |
B specifies the second sparse matrix. The number of rows and columns in B must be equal to the number of row and columns in A, respectively. |
![]() |
A = B? returns TRUE if A is equal to B. Otherwise, returns FALSE. |
Equal Details
The following table lists the support characteristics of this VI.
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Yes |

