write a note on sparse matrix?
Answers
Answered by
0
Answer:
Sparse matrix is a matrix which contains very few non-zero elements. When a sparse matrix is represented with a 2-dimensional array, we waste a lot of space to represent that matrix. For example, consider a matrix of size 100 X 100 containing only 10 non-zero elements.
Answered by
0
Answer:
A sparse matrix is a one where the majority of the values are zero. The proportion of zero elements to non-zero elements is referred to as the sparsity of the matrix. The opposite of a sparse matrix, where the majority of its values are non-zero, is called a dense matrix.
Similar questions