numerical_linear_algebra icon indicating copy to clipboard operation
numerical_linear_algebra copied to clipboard

Typos on Page 366, 368, 372, 376, 380?

Open HuiOuyangMaths opened this issue 3 years ago • 6 comments

Dear Professor Darve, One page 368, you wrote "A couple of useful commands are eye to create the identity matrix,...". At least "eye" or "eyes" is not defined in current versions of Julia, right? Probably "eye(n)" is now replaced by "Matrix(I,n,n)", right? Thanks a lot for your excellent book. Best, Hui.

HuiOuyangMaths avatar Oct 03 '22 23:10 HuiOuyangMaths

In addition, on page 366, in your output of @printf("The formatting of %5.3f is similar to the C language\n",pi), there is a tiny type. The word "language" is missing. ^v^ Thanks a lot. :)

HuiOuyangMaths avatar Oct 03 '22 23:10 HuiOuyangMaths

Page 380 "Simple plots": I think I checked on my terminal that I successfully installed: Dict{String, VersionNumber} with 2 entries: "IJulia" => v"1.23.3" "PlotlyJS" => v"0.18.10" But when I type ups the plotting code on page 380, I get the error: "UndefVarError: plot not defined" As the following link shows, it seems that I am not the only person getting issues using PlotlyJS on Jupyter: https://github.com/JuliaPlots/Plots.jl/issues/2003

HuiOuyangMaths avatar Oct 07 '22 06:10 HuiOuyangMaths

Page 376: In order to get the output as a tuple shown on the book, "@show flog(20,0.5) log(1-0.5)" should be "@show flog(20,0.5), log(1-0.5)" There is a comma missing.

HuiOuyangMaths avatar Oct 07 '22 06:10 HuiOuyangMaths

Page 372:

  1. You wrote "... provided by Julia include trace, set, ...". I think you want to replace "trace" by "tr" because "trace" is not defined.
  2. To use vectors x and y defined at the beginning of page 372, the capital X and Y in " @. X = sin(cose(Y))" should be lower case?

HuiOuyangMaths avatar Oct 07 '22 06:10 HuiOuyangMaths

Thanks for all these comments. I will look into that. I need to check with SIAM how an errata can be published or how the manuscript can be updated.

EricDarve avatar Oct 07 '22 17:10 EricDarve

Dear Professor Darve,

Thank you very much for your response. I might be wrong. I am glad that you will have a loo at the places on your book that I mentioned.

Thanks a lot. 😊

Best wishes! Sincerely yours, Hui Ouyang.

On Oct 7, 2022, at 10:29 AM, Eric Darve @.***> wrote:

 Thanks for all these comments. I will look into that. I need to check with SIAM how an errata can be published or how the manuscript can be updated.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

HuiOuyangMaths avatar Oct 07 '22 17:10 HuiOuyangMaths