What is the relation between Sparsity and Density of a matrix?

Q & ACategory: Data StructureWhat is the relation between Sparsity and Density of a matrix?
Admin Staff asked 4 years ago

What is the relation between Sparsity and Density of a matrix?
a) Sparsity = 1 – Density
b) Sparsity = 1 + Density
c) Sparsity = Density*Total number of elements
d) Sparsity = Density/Total number of elements

1 Answers
Admin Staff answered 4 years ago

a) Sparsity = 1 – Density