5COLLECTIONS
I don’t want to belong to any club that would accept me as one of its members.
—Attributed to Groucho Marx
A collection is a data structure that functions as a container. The values that it holds are its elements. Julia’s collections are distinguished from each other by what they can contain, whether or not they are mutable, how their elements are accessed, whether their contents are ordered, and several other characteristics.
We’ve already worked with arrays, strings, and other kinds of Julia containers. In this chapter, we’ll learn more about those collections and meet some new ones.
Controlling Loop Execution
There is an intimate ...
Get Practical Julia 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.