-
Book Overview & Buying
-
Table Of Contents
Mastering Julia - Second Edition
By :
In this chapter, we have looked at how the Julia type system defines common numeric and string types and how the use of parametric types provides an efficient mechanism for formulating more complex type structures.
We developed a set of types for a class of vehicle types and then added data to create and manipulate some specific instances.
Finally, we looked at a numeric example of 3D vectors and showed how this could be extended to greater dimensions. We applied these types to an example we saw earlier – the Monte Carlo estimation of π.
In the next chapter, we are going to look at some of the topics that make Julia stand out from other computer languages, such as multiple dispatch and defining runtime macros, as well as a more in-depth discussion of using modules in Julia.