Difference between revisions of "Manuals/calci/PENTADIAGONAL"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
<math>A=\begin{pmatrix} | <math>A=\begin{pmatrix} | ||
c_1 & d_1 & e_1 & 0 & \cdots & \cdots & 0 \\ | c_1 & d_1 & e_1 & 0 & \cdots & \cdots & 0 \\ | ||
− | b_1 & c_2 & d_2 & e_2 & \ddots & & \vdots \\ | + | b_1 & c_2 & d_2 & e_2 & \ddots &\cdots & \vdots \\ |
a_1 & b_2 & \cdots & \ddots & \ddots & \ddots & \vdots \\ | a_1 & b_2 & \cdots & \ddots & \ddots & \ddots & \vdots \\ | ||
0 & a_2 & \cdots & \ddots & \ddots & e_{n-3} & 0 \\ | 0 & a_2 & \cdots & \ddots & \ddots & e_{n-3} & 0 \\ |
Revision as of 12:33, 5 May 2015
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")