[Solved] What is sparsity of a matrix? (MCQ)

What is sparsity of a matrix?

a) The fraction of zero elements over the total number of elements
b) The fraction of non-zero elements over the total number of elements
c) The fraction of total number of elements over the zero elements
d) The fraction of total number of elements over the non-zero elements

Answer: a
Explanation: The sparsity of a matrix is the fraction of the number of zero elements over the total number of zero elements.

Comments