
C H A P T E R 17
Using Arrays with Numpy
17.1 INTRODUCTION
This chapter presents an overview of single- dimensional arrays, implementa-
tion techniques with programming in Python and Numpy, and a summary of
computing with vectors. In general, an array is a term used in programming
and is defined as a data structure that is a collection of value s and these val-
ues are organized in several ways. In programming, a one-dimensional array
is often known as a vector. The following arrays: X, Y , and Z have their data
arranged in different manners. Array X is a one-dimensional array with n
elements and it is considered a row vector because its elements x
1
,