Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HuiOuyangMaths opened this issue Oct 3, 2022 · 6 comments
Open

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

HuiOuyangMaths opened this issue Oct 3, 2022 · 6 comments

Comments

@HuiOuyangMaths
Copy link

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
Copy link
Author

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
Copy link
Author

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:
JuliaPlots/Plots.jl#2003

@HuiOuyangMaths
Copy link
Author

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
Copy link
Author

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 HuiOuyangMaths changed the title Page 368 Typos on Page 366, 368, 372, 376, 380? Oct 7, 2022
@EricDarve
Copy link
Owner

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.

@HuiOuyangMaths
Copy link
Author

HuiOuyangMaths commented Oct 7, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants