- Julia 1.0 Programming Complete Reference Guide
- Ivo Balbaert Adrian Salceanu
- 162字
- 2021-06-24 14:21:47
Collection Types
Collections of values appear everywhere in programs, and Julia has the most important built-in collection types. In Chapter 2, Variables, Types, and Operations, we introduced two important types of collection: arrays and tuples. In this chapter, we will look more deeply into multidimensional arrays (or matrices), and into the tuple type as well. A dictionary type, where you can look up a value through a key, is indispensable in a modern language, and Julia has this too. Finally, we will explore the set type. Like arrays, all these types are parameterized; the type of their elements can be specified at the time of object construction.
Collections are also iterable types, the types over which we can loop with for or an iterator producing each element of the collection successively. The iterable types include string, range, array, tuple, dictionary, and set.
So, the following are the topics for this chapter:
- Matrices
- Tuples
- Dictionaries
- Sets
- An example project—word frequency
- Vue 3移動Web開發(fā)與性能調(diào)優(yōu)實戰(zhàn)
- 深入理解Android(卷I)
- Spring Boot開發(fā)與測試實戰(zhàn)
- TensorFlow Lite移動端深度學習
- ASP.NET Core 5.0開發(fā)入門與實戰(zhàn)
- HBase從入門到實戰(zhàn)
- PhpStorm Cookbook
- Hands-On Enterprise Automation with Python.
- Cocos2d-x學習筆記:完全掌握Lua API與游戲項目開發(fā) (未來書庫)
- C++寶典
- C++反匯編與逆向分析技術揭秘(第2版)
- Kubernetes源碼剖析
- 跟戴銘學iOS編程:理順核心知識點
- UML軟件建模
- Learning C++ by Creating Games with UE4