Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright and Credits
Julia 1.0 Programming Second Edition
Packt Upsell
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Installing the Julia Platform
Installing Julia
Windows OS
OS X
Linux OS
Building from source
JuliaPro
Working with Julia's REPL
Startup options and Julia scripts
Packages
Adding a new package
Installing and working with IJulia
Installing Juno
Installing julia-vscode
Installing Sublime-IJulia
Other editors and IDEs
How Julia works
Summary
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
Formatting numbers and strings
Regular expressions
Ranges and arrays
Other ways to create arrays
Some common functions for arrays
Dates and times
Scope and constants
Summary
Functions
Defining functions
Optional and keyword arguments
Anonymous functions
First-class functions and closures
functions
Broadcasting
Map, filter, and list comprehensions
Generic functions and multiple dispatch
Summary
Control Flow
Conditional evaluation
Repeated evaluation
for loops
while loops
The break statement
The continue statement
Exception handling
Scope revisited
Tasks
Summary
Collection Types
Matrices
Tuples
Dictionaries
Keys and values – looping
Sets
An example project – word frequency
Summary
More on Types, Methods, and Modules
Type annotations
Type conversions and promotions
The type hierarchy – subtypes and supertypes
Concrete and abstract types
User-defined and composite types
When are two values or objects equal or identical?
A multiple-dispatch example
Types and collections – inner constructors
Type unions
Parametric types and methods
Standard modules and paths
Summary
Metaprogramming in Julia
Expressions and symbols
Evaluation and interpolation
Defining macros
Built-in macros
Testing
Debugging
Benchmarking
Starting a task
Reflection capabilities
Summary
I/O, Networking, and Parallel Computing
Basic input and output
Working with files
Reading and writing CSV files
Using DataFrames
Other file formats
Working with TCP sockets and servers
Interacting with databases
Parallel operations and computing
Creating processes
Using low-level communications
Parallel loops and maps
Summary
Running External Programs
Running shell commands
Interpolation
Pipelining
Calling C and Fortran
Calling Python
Performance tips
Tools to use
Summary
The Standard Library and Packages
Digging deeper into the standard library
Julia's package manager
Installing and updating packages
Graphics in Julia
Using Plots on data
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
← Prev
Back
Next →
← Prev
Back
Next →