nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
913 stars 151 forks source link

chapter 1, in "More Number Properties with Vectors" distributive of scale is wrong #364

Closed luxuia closed 10 years ago

luxuia commented 10 years ago

it should be (scale a + scale b)_vector c = a_c+b*c

olange commented 10 years ago

I also noticed this on top of page 42 of version 1.0 (06 december 2012) of the printed book; I believe one should read:

The distributive rule with 2 scalars, 1 vector: (n + m) * vecV = n * vecV + m * vecV

rather than:

The distributive rule with 2 scalars, 1 vector: (n * m) * vecV = n * vecV + m * vecV

Thanks for this wonderful book, I enjoy it very much.

shiffman commented 10 years ago

Thank you! duplicate of #298. Will update for next edition!!