None.
On entry, | . |
On entry, | . |
On entry, | . |
ncols = 80 indent = 0 labrow = 'I' labcol = 'I' form = ' ' usefrm = 'A'
Open in the MATLAB editor: x04de_example
function x04de_example fprintf('x04de example results\n\n'); nmax = 5; b = zeros(nmax,nmax); for j = 1:nmax b(j,:) = [1:nmax] + 10*j; end a = b - i*b; % 5x5 tridiagonal matrix m = int64(nmax); n = m; kl = int64(1); ku = kl; mtitle = 'Band Matrix:'; [ifail] = x04de( ... m, n, kl, ku, a, mtitle);
x04de example results Band Matrix: 1 2 3 4 5 1 21.0000 12.0000 -21.0000 -12.0000 2 31.0000 22.0000 13.0000 -31.0000 -22.0000 -13.0000 3 32.0000 23.0000 14.0000 -32.0000 -23.0000 -14.0000 4 33.0000 24.0000 15.0000 -33.0000 -24.0000 -15.0000 5 34.0000 25.0000 -34.0000 -25.0000