© Philip Joyce 2019
P. JoyceNumerical Chttps://doi.org/10.1007/978-1-4842-5064-8_5

5. Matrices

Philip Joyce1 
(1)
Goostrey, UK
 

Matrices are mathematical structures that have become increasingly important recently. They are starting to be used in areas like data science and problems in machine learning.

Matrices can be understood using some simple examples.

Matrix Arithmetic

In Figure 5-1 we have details of three people working in a technology store selling laptops and printers. The table on the left shows details of how many of each product have been sold by each of the sales team in store and the table on the right shows how many have been sold online.
Figure 5-1

Matrix examples

Each of these tables is a matrix. They both have three rows of people and ...

Get Numerical C: Applied Computational Programming with Case Studies 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.