
Chapter 18
Matrices and Sets of Linear Equations
18.1 Introduction
As mentioned in previous chapters, in scientific computing, data is conveniently
organized as collections of values known as vectors and matrices and are used to
implement data lists and sequences of values. This chapter presents basic concepts
of matrices, programming in C and the GSL, and a summary of computing with
matrices. Systems of linear equations are solved using the GSL.
18.2 Matrices
In general, a matrix is a two-dimensional array of data values and is organized in
rows and columns. The following array, Y, is a two-dimensional array organized as
an m ×n matrix; its elements are ...