Basic matrix operations form the backbone of quite a few statistical analyses—for example, neural networks. In this section, we will be covering some of the most used operations and functions on 2D arrays:
- Addition
- Multiplication by scalar
- Matrix arithmetic
- Matrix-matrix multiplication
- Matrix inversion
- Matrix transposition
In the following sections, we will look into the methods of implementing each of them in Python using SciPy/NumPy.