- 2079 Shrawan · 3 marks
Sparse, banded matrix and memory optimization
Short answer
A sparse matrix has most entries zero. A banded matrix has nonzeros concentrated near the main diagonal. Memory optimization reduces storage by exploiting symmetry, storing band/skyline, storing only nonzeros with index arrays, and renumbering nodes to minimize bandwidth; banded elimination needs about n b^2 operations instead of n^3.
What do you mean by sparse matrix, banded matrix and memory optimization?
Sparse matrix: a matrix in which most entries are zero. Stiffness matrices of FEM are sparse because a node is connected only to the nodes of neighbouring elements.
Banded matrix: a matrix whose non-zero entries lie in a narrow band about the main diagonal, i.e. for . The half-bandwidth is
A symmetric matrix of order and half-bandwidth is stored with only numbers instead of .
x x . . .
x x x . . band along the
. x x x . diagonal, zeros
. . x x x outside
. . . x x
Memory optimisation: reducing the memory needed to store and solve . Techniques are:
- store only the upper triangle (symmetry);
- store only the band (banded storage) or the skyline profile;
- store only non-zero terms with index arrays (sparse storage);
- renumber nodes to minimise bandwidth. Less memory also gives fewer operations: the cost of banded elimination is about instead of .
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Banded matrix and skyline storage · Computational Techniques in Civil Engineering, chapter 2
- Optimization of hydraulic tunnel diameter · Hydropower Engineering, chapter 6 · asked 2×
- Unique/non-unique decoding, memory mapped I/O · Microprocessor, chapter 4
- I/O mapped vs memory mapped I/O · Instrumentation II, chapter 2
- Full vs partial address decoding for memory · Instrumentation II, chapter 2
All Computational Techniques in Civil Engineering chapter 2 questions →