Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Julia

You're reading from  Mastering Julia

Product type Book
Published in Jul 2015
Publisher
ISBN-13 9781783553310
Pages 410 pages
Edition 1st Edition
Languages

Summary


In this chapter, we looked at how the Julia type system defines common numeric and string types and the role that multiple dispatch plays in creating an efficient mechanism for calling functions.

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 discussed the topic of parametric types and developed a numeric example of an ordered pair as an alternate formulation of complex numbers.

In the next chapter, we will complete our survey of coding in Julia, looking at how it encompasses interoperability with other programming languages and how it is simple to utilize functions and methods in these languages, such as C, Python, and R, from Julia.

We will also introduce concepts of homoiconicity and metaprogramming and how this leads to the definition and the use of runtime macros in Julia and will see how this simplifies the execution of code asynchronously.

Finally, we will see how it is possible to interface...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}