
282 Introduction to Computational Models with Python
Key Terms
arrays elements index
matrices array elements Numpy arrays
column vector row vector double-dimension array
matrix operations matrix functions determinant
inverse matrix system of linear equations LU decomposition
18.7 EXERCISES
18.1 Develop a Python program that reads the values of a matrix M of m rows
and n c olumns. The program must use Numpy and create a new matrix
that has the same numbe r of rows and columns, from the appropriate
elements in matrix M. Hint: if m < n, then the second matrix would be
an m × m sq uare matrix.
18.2 Develop a computational model that inputs and process es