nature-of-code / noc-book

The Nature of Code book (archived repo, see README for new repo / build system!)
http://natureofcode.com
1.94k stars 365 forks source link

Chapter 1.4 "More number properties with vectors" #122

Closed MPreloaded closed 5 years ago

MPreloaded commented 7 years ago

Correct me if I'm wrong, but the distributive rule with two scalars and one vector contains a small mistake:

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

Should be:

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