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

Errata Page 522 ch15 #149

Open
jadeidev opened this issue Feb 6, 2021 · 1 comment
Open

Errata Page 522 ch15 #149

jadeidev opened this issue Feb 6, 2021 · 1 comment

Comments

@jadeidev
Copy link

jadeidev commented Feb 6, 2021

@rasbt
The following equation on page 522:
image
Assuming array index of x and w starts at 0 (which is suggested by the fact that the index k starts at 0) the equation will give for y[0] and m=4 and p=0:
y[0]=x[4]w[0] + x[3]w[1] + x[2]w[2] + x[1]w[3]
thereby skipping x[0]
i would suggest the following correction
image
Likewise
image
And the example should be corrected to
image

@rasbt
Copy link
Owner

rasbt commented Feb 8, 2021

Good catch. Sorry about that and thanks for the feedback. We will fix that in the next edition

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