The matrix contains m rows and n columns. The matrix is called Sparse Matrix if
2023
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
- D.
More than one of the above
- E.
None of the above
Attempted by 637 students.
Show answer & explanation
Correct answer: A
A matrix is called a Sparse Matrix if the number of zero elements is greater than half of the total elements in the matrix. Total number of elements in a matrix with m rows and n columns is m × n. Therefore, the matrix is sparse if the total number of zero elements > (m × n) / 2.