EricDarve / numerical_linear_algebra

Julia code for the book Numerical Linear Algebra
114 stars 41 forks source link

G matrix indexing, pages 71-74 #215

Closed dlahana closed 4 years ago

dlahana commented 4 years ago

At the bottom of page 71, G_1 matrix elements have two indices, as in (gi)\{ii}, but later at the bottom of page 72, G_i matrix elements have one index, as in (gi)\{i+1}, which was perhaps supposed to be (gi)\{i,i+1}, unless g_i represents a column now, instead of a matrix as it did previously. This column notation appears to continue through page 74. In short, g_i is first a matrix element and then a column, and perhaps this could be made more clear using superscript notation to index the G matrices, or through maintaining the two index notation for each (g_i) element.

EricDarve commented 4 years ago

I see what you are saying. It's a bit tricky. (gi){i+1,i} is to heavy-handed. That's difficult to read. I am going to keep the notation g_i for column i of G_i. We need it for the next few pages.

I changed the notations at the bottom of p. 69 to avoid using the notation g_1.

Hopefully, it's a little clearer now.