What is a Sparse Matrix ? What are the advantages and disadvantages of Sparse Matrix representation ?
Answers
Answered by
43
A Sparse Matrix is a matrix in which a lot of values equal to zero in contrast to a dense matrix where most elements have non-zero values.
Advantages:
- Cheaper to store
- As a lot of elements are zero, it reduces the total computational time taken for operations
Disadvantages:
- Not everything can be made into a sparse matrix for representation
- Holds lesser information
Advantages:
- Cheaper to store
- As a lot of elements are zero, it reduces the total computational time taken for operations
Disadvantages:
- Not everything can be made into a sparse matrix for representation
- Holds lesser information
Answered by
17
Solution:-
●Sparse Metrix :- Sparse metrix are those metrix which have the majority of their elements equal to zero .●
for exmple :- 1. Triangular metrix ( lower and upper ) 2. tridiagonal metrix .
●Advantage :- Sparse matrices also have significant advantages in terms of computational efficiency.●
●Disadvantage;- The main disadvantage is that asparse matrix can contain a lot less information than a non-sparse matrix, since a vast majority of its entries must be equal to 0. Not everything can be modeled by a sparse matrix.●
☆i hope its help☆
●Sparse Metrix :- Sparse metrix are those metrix which have the majority of their elements equal to zero .●
for exmple :- 1. Triangular metrix ( lower and upper ) 2. tridiagonal metrix .
●Advantage :- Sparse matrices also have significant advantages in terms of computational efficiency.●
●Disadvantage;- The main disadvantage is that asparse matrix can contain a lot less information than a non-sparse matrix, since a vast majority of its entries must be equal to 0. Not everything can be modeled by a sparse matrix.●
☆i hope its help☆
Similar questions