help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Banded matrix with dirty off-diagonal triagles


From: Mario Storti
Subject: Re: Banded matrix with dirty off-diagonal triagles
Date: Wed, 17 Jun 1998 13:31:29 -0300

My apologies.  In  my previous posting,  I forgot  to  include the off
diagonal terms when showing the matrix. I missed to show the following
steps, but the rest of the mail, and the renumbering is still valid!

octave> A(1,20)=-1;
octave> A(20,1)=-1;
octave> A(1,20)=-1;
octave> A
A =

   2  -1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  -1
  -1   2  -1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
   0  -1   2  -1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
   0   0  -1   2  -1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
   0   0   0  -1   2  -1   0   0   0   0   0   0   0   0   0   0   0   0   0   0
   0   0   0   0  -1   2  -1   0   0   0   0   0   0   0   0   0   0   0   0   0
   0   0   0   0   0  -1   2  -1   0   0   0   0   0   0   0   0   0   0   0   0
   0   0   0   0   0   0  -1   2  -1   0   0   0   0   0   0   0   0   0   0   0
   0   0   0   0   0   0   0  -1   2  -1   0   0   0   0   0   0   0   0   0   0
   0   0   0   0   0   0   0   0  -1   2  -1   0   0   0   0   0   0   0   0   0
   0   0   0   0   0   0   0   0   0  -1   2  -1   0   0   0   0   0   0   0   0
   0   0   0   0   0   0   0   0   0   0  -1   2  -1   0   0   0   0   0   0   0
   0   0   0   0   0   0   0   0   0   0   0  -1   2  -1   0   0   0   0   0   0
   0   0   0   0   0   0   0   0   0   0   0   0  -1   2  -1   0   0   0   0   0
   0   0   0   0   0   0   0   0   0   0   0   0   0  -1   2  -1   0   0   0   0
   0   0   0   0   0   0   0   0   0   0   0   0   0   0  -1   2  -1   0   0   0
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  -1   2  -1   0   0
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  -1   2  -1   0
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  -1   2  -1
  -1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  -1   2

Mario



reply via email to

[Prev in Thread] Current Thread [Next in Thread]