09Nov
2016
Eugene / Learning, Stanford Machine Learning / 0 comment
Addition & Scalar Multiplication Of Matrices
Addition: $$\begin{bmatrix}
a & b \newline
c & d \newline
\end{bmatrix} +
\begin{bmatrix}
w & x \newline
y & z \newline
\end{bmatrix} =
\begin{bmatrix}
a+w & b+x \newline
c+y & d+z \newline
\end{bmatrix}$$
Scalar multiplication: $$\begin{bmatrix}
a & b \newline
c & d \newline
\end{bmatrix} \times x =
\begin{bmatrix}
a\times x & b\times x \newline
c\times x & d\times x \newline
\end{bmatrix}$$