Getting Started with Julia

Enter the exciting world of Julia, a high-performance language for technical computing

Getting Started with Julia

Progressing
Ivo Balbaert

5 customer reviews
Enter the exciting world of Julia, a high-performance language for technical computing
$23.99
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Free Sample

Book Details

ISBN 139781783284795
Paperback214 pages

Book Description

Julia is a new open source programming language that is used in the field of data science computing. It was created to solve the dilemma between high-level slow code and fast but low-level code, and the necessity to use both to achieve high performance. This book will give you a head start to tackle your numerical and data problems with Julia. Your journey will begin by learning how to set up a running Julia platform before exploring its various built-in types. You will then move on to cover the different functions and constructs in Julia. The book will then walk you through the two important collection types—arrays and matrices. Over the course of the book, you will also be introduced to homoiconicity, the meta-programming concept in Julia.

Towards the concluding part of the book, you will also learn how to run external programs. This book will cover all you need to know about Julia to leverage its high speed and efficiency.

Table of Contents

Chapter 1: Installing the Julia Platform
Installing Julia
Working with Julia's shell
Startup options and Julia scripts
Packages
Installing and working with Julia Studio
Installing and working with IJulia
Installing Sublime-IJulia
Installing Juno
Other editors and IDEs
How Julia works
Summary
Chapter 2: Variables, Types, and Operations
Variables, naming conventions, and comments
Types
Integers
Floating point numbers
Elementary mathematical functions and operations
Rational and complex numbers
Characters
Strings
Regular expressions
Ranges and arrays
Dates and times
Scope and constants
Summary
Chapter 3: Functions
Defining functions
Optional and keyword arguments
Anonymous functions
First-class functions and closures
Recursive functions
Map, filter, and list comprehensions
Generic functions and multiple dispatch
Summary
Chapter 4: Control Flow
Conditional evaluation
Repeated evaluation
Exception handling
Scope revisited
Tasks
Summary
Chapter 5: Collection Types
Matrices
Tuples
Dictionaries
Sets
Example project – word frequency
Summary
Chapter 6: More on Types, Methods, and Modules
Type annotations and conversions
The type hierarchy – subtypes and supertypes
User-defined and composite types
Types and collections – inner constructors
Type unions
Parametric types and methods
Standard modules and paths
Summary
Chapter 7: Metaprogramming in Julia
Expressions and symbols
Eval and interpolation
Defining macros
Built-in macros
Reflection capabilities
Summary
Chapter 8: I/O, Networking, and Parallel Computing
Basic input and output
Working with files
Using DataFrames
Working with TCP sockets and servers
Interacting with databases
Parallel operations and computing
Summary
Chapter 9: Running External Programs
Running shell commands
Calling C and FORTRAN
Calling Python
Performance tips
Summary
Chapter 10: The Standard Library and Packages
Digging deeper into the standard library
Julia's package manager
Publishing a package
Graphics in Julia
Using Gadfly on data
Summary

What You Will Learn

  • Set up your Julia environment to achieve the highest productivity
  • Solve your tasks in a high-level dynamic language and use types for your data only when needed
  • Create your own types to extend the built-in type system
  • Visualize your data in IJulia with plotting packages
  • Explore the use of built-in macros for testing, debugging, benchmarking, and more
  • Apply Julia to tackle problems concurrently and in a distributed environment
  • Integrate with other languages such as C, Python, and MATLAB

Authors

Table of Contents

Chapter 1: Installing the Julia Platform
Installing Julia
Working with Julia's shell
Startup options and Julia scripts
Packages
Installing and working with Julia Studio
Installing and working with IJulia
Installing Sublime-IJulia
Installing Juno
Other editors and IDEs
How Julia works
Summary
Chapter 2: Variables, Types, and Operations
Variables, naming conventions, and comments
Types
Integers
Floating point numbers
Elementary mathematical functions and operations
Rational and complex numbers
Characters
Strings
Regular expressions
Ranges and arrays
Dates and times
Scope and constants
Summary
Chapter 3: Functions
Defining functions
Optional and keyword arguments
Anonymous functions
First-class functions and closures
Recursive functions
Map, filter, and list comprehensions
Generic functions and multiple dispatch
Summary
Chapter 4: Control Flow
Conditional evaluation
Repeated evaluation
Exception handling
Scope revisited
Tasks
Summary
Chapter 5: Collection Types
Matrices
Tuples
Dictionaries
Sets
Example project – word frequency
Summary
Chapter 6: More on Types, Methods, and Modules
Type annotations and conversions
The type hierarchy – subtypes and supertypes
User-defined and composite types
Types and collections – inner constructors
Type unions
Parametric types and methods
Standard modules and paths
Summary
Chapter 7: Metaprogramming in Julia
Expressions and symbols
Eval and interpolation
Defining macros
Built-in macros
Reflection capabilities
Summary
Chapter 8: I/O, Networking, and Parallel Computing
Basic input and output
Working with files
Using DataFrames
Working with TCP sockets and servers
Interacting with databases
Parallel operations and computing
Summary
Chapter 9: Running External Programs
Running shell commands
Calling C and FORTRAN
Calling Python
Performance tips
Summary
Chapter 10: The Standard Library and Packages
Digging deeper into the standard library
Julia's package manager
Publishing a package
Graphics in Julia
Using Gadfly on data
Summary

Book Details

ISBN 139781783284795
Paperback214 pages
Read More
From 5 reviews

Read More Reviews