Program Banded :
Symbolic Solver For Tridiagonal And Pentadiagonal Banded Matrices
Syntax :
Banded ( number of y nodes , number of total nodes )
Example 1 : Banded ( 3 , 9 )
ans :
[ a, Beta^2, 0, 1, 0, 0, 0, 0, 0]
[ Beta^2, a, Beta^2, 0, 1, 0, 0, 0, 0]
[ 0, Beta^2, a, 0, 0, 1, 0, 0, 0]
[ 1, 0, 0, a, Beta^2, 0, 1, 0, 0]
[ 0, 1, 0, Beta^2, a, Beta^2, 0, 1, 0]
[ 0, 0, 1, 0, Beta^2, a, 0, 0, 1]
[ 0, 0, 0, 1, 0, 0, a, Beta^2, 0]
[ 0, 0, 0, 0, 1, 0, Beta^2, a, Beta^2]
[ 0, 0, 0, 0, 0, 1, 0, Beta^2, a]Example 2 : Banded ( 4 , 12 )
ans :
[ a, Beta^2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0]
[ Beta^2, a, Beta^2, 0, 0, 1, 0, 0, 0, 0, 0, 0]
[ 0, Beta^2, a, Beta^2, 0, 0, 1, 0, 0, 0, 0, 0]
[ 0, 0, Beta^2, a, 0, 0, 0, 1, 0, 0, 0, 0]
[ 1, 0, 0, 0, a, Beta^2, 0, 0, 1, 0, 0, 0]
[ 0, 1, 0, 0, Beta^2, a, Beta^2, 0, 0, 1, 0, 0]
[ 0, 0, 1, 0, 0, Beta^2, a, Beta^2, 0, 0, 1, 0]
[ 0, 0, 0, 1, 0, 0, Beta^2, a, 0, 0, 0, 1]
[ 0, 0, 0, 0, 1, 0, 0, 0, a, Beta^2, 0, 0]
[ 0, 0, 0, 0, 0, 1, 0, 0, Beta^2, a, Beta^2, 0]
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, Beta^2, a, Beta^2]
[ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, Beta^2, a]