Source: https://online.stat.psu.edu/statprogram/reviews/matrix-algebra/arithmetic.pdf