
C H A P T E R 18
Models with Matrices and
Linear Equations
18.1 INTRODUCTION
As mentioned in previous chapters, in s cientific computing, data is conve-
niently organized as collections of values known as vectors and matrices and
are used to implement data lists and s equences of values. This chapter presents
basic concepts of matrices, operations on matrices, and programming comput-
ing with matrices in Python and Numpy, and a summary of systems of linear
equations that are solved using Numpy.
18.2 MATRICES
In general, a matrix is a two-dimensional array of data values and is org a-
nized in rows and columns. The following array, Y , is a two-dimensional ...