EricDarve / numerical_linear_algebra

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

Potential Typos in the Course Reader #237

Closed liuf9 closed 3 years ago

liuf9 commented 3 years ago

This is a collection of potential typos found throughout the quarter and some of them might not necessarily be typos (they depend on your decision) and some of them might be mentioned by other students earlier in this quarter or before this academic year, but I follow the current version of Course Reader on Google Drive.

  1. Page 21: (Cy)^T x =y^T (C^T x).

    Screen Shot 2020-11-20 at 7 20 46 PM
  2. Page 66: strange indentation of updating “z” in the nested for loop (line 7) in trtrsRow.

    Screen Shot 2020-11-20 at 7 25 23 PM
  3. Page 81: two’s complement definition: b bits represents a number between -2^(b-1) and 2^(b-1) - 1. Otherwise, there are 2^(b + 1) numbers between -2^b and 2^b - 1 and we only have b bits to represent 2^b numbers.

    Screen Shot 2020-11-20 at 7 37 15 PM
  4. Page 86: note on the top right slightly covers the top edge.

    Screen Shot 2020-11-20 at 7 30 13 PM
  5. Page 100: it might be clearer if you would like to set up a terminated entry In the matrix for repetitive values such as -1, ..., -1 or 1, 1, ..., 1 although it is not necessary as all students can infer from this form.

    Screen Shot 2020-11-20 at 7 46 06 PM
  6. Page 125: x_2^2 + ... + x_n^2 << x_1^2 (lost the second plus sign).

    Screen Shot 2020-11-20 at 7 56 13 PM
  7. Page 187: strange indentation on extracting B (the second piece of Julia code on this page).

    Screen Shot 2020-11-20 at 7 59 59 PM
  8. Page 259: lost a comma after "since A is SPD...".

    Screen Shot 2020-11-20 at 8 02 49 PM
  9. Page 261: as we have discussed in Slack, we might add an absolute value for c_k(mu) (HW8 2.7).

    Screen Shot 2020-11-20 at 8 04 29 PM
EricDarve commented 3 years ago
  1. correct
  2. fixed
  3. Correct. It's b-1.
  4. Thank you.
  5. I see what you are saying but I am going to keep the current form. It's a little ambiguous but adding more entries will also make it look more complicated.
  6. Fixed
  7. Fixed. It's because tabs are 4 spaces in my editor but show up with a different width in the PDF. So depending on whether it's tabs or spaces the indentation is wrong.
  8. Added
  9. Fixed