A.1. Linear algebra

Linear algebra is the study of linear transformations. A linear transformation is a transformation (e.g., a function) in which the sum of the transformation of two inputs separately, such as T(a) and T(b), is the same as summing the two inputs and transforming them together, i.e., T(a + b) = T(a) + T(b). A linear transformation also has the property that T(a × b) = a × T(b). Linear transformations are said to preserve the operations of addition and multiplication since you can apply these operations either before or after the linear transformation and the result is the same.

One informal way to think of this is that linear transformations do not have “economies of scale.” For example, think of a linear transformation as converting ...

Get Deep Reinforcement Learning in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.