Pentadiagonal matrix

From HandWiki

In linear algebra, a pentadiagonal matrix is a special case of band matrices. Its only nonzero entries are on the main diagonal, and the first two upper and two lower diagonals. So it is of the form

(c1d1e10⋯⋯0b1c2d2e2⋱⋮a1b2⋱⋱⋱⋱⋮0a2⋱⋱⋱en−30⋮⋱⋱⋱⋱dn−2en−2⋮⋱an−3bn−2cn−1dn−10⋯⋯0an−2bn−1cn)∈ℝn×n.

It follows that a pentadiagonal matrix has at most 5n−6 nonzero entries, where n is the size of the matrix. Hence, pentadiagonal matrices are sparse, making them useful in numerical analysis.

See also