© Sandeep Nagar 2017

Sandeep Nagar, Beginning Julia Programming, https://doi.org/10.1007/978-1-4842-3171-5_7

7. Arrays

Sandeep Nagar

(1)New York, USA

7.1 Introduction to Arrays

Just as integers, floating point numbers, complex numbers, rational number data types, and irrational number data types define single values of different types, a host of other data types holding multiple values at the same time also exists. Such data types include Array, Tuple (tuples), Dict (dictionary), and Set (sets).

Arrays are particularly interesting since they are used for defining vectors, tables, and matrices for scientific computing:

  • A 1D (one-dimensional) array acts as a vector or list.

  • A 2D array can be used as a table or matrix.

  • 3D and more-D arrays can represent ...

Get Beginning Julia Programming: For Engineers and Scientists now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.