The matrix contains m rows and n columns. The matrix is called Sparse Matrix if ________

The matrix contains m rows and n columns. The matrix is called Sparse Matrix if ________
A. Total number of Zero elements > (m*n)/2
B. Total number of Zero elements = m + n
C. Total number of Zero elements = m/n
D. Total number of Zero elements = m-n
 
Answer: a
Explanation: For matrix to be Sparse Matrix, it should contain Zero elements more than the non-zero elements. Total elements of the given matrix is m*n. So if Total number of Zero elements > (m*n)/2, then the matrix is called Sparse Matrix.
 

Tìm kiếm

Back
Top