ABSTRACT

This chapter presents an overview of single-dimensional arrays, implementation 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 values and these values 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 x1, x2, . . . , xn are arranged in a single row.