Manuals/calci/PENTADIAGONAL
MATRIX("PENTADIAGONAL",order)
- is the size of the Pentadiagonal matrix.
Description
- This function gives the pentadiagonal matrix of order 3.
- A pentadiagonal matrix is a matrix that is nearly diagonal.
- So it is a matrix in which the only nonzero entries are on the main diagonal, and the first two diagonals above and below it.
- The form of pentadiagonal matrix is:
.
- When n is the size of the matrix, a pentadiagonal matrix has atmost 5n-6 nonzero entries.
- Here MATIRX("pentadiagonal") is showing the penta diagonal matrix of order 3 with the integer numbers.
- Also in Calci users can get a deimal values with positive and negative numbers.
- The syntax is to get the decimal penta diagonal matrix is MATRIX("pentadiagonal:negative") and MATRIX(pentadiagonal:positive")