更新时间:2021-07-23 20:34:25
coverpage
Getting Started with Julia
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
The Rationale for Julia
The scope of Julia
Julia's place among the other programming languages
A comparison with other languages for the data scientist
Useful links
Summary
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
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
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
Chapter 4. Control Flow
Conditional evaluation
Repeated evaluation
Exception handling
Scope revisited
Tasks
Chapter 5. Collection Types
Matrices
Tuples
Dictionaries
Sets
Example project – word frequency
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
Chapter 7. Metaprogramming in Julia
Expressions and symbols
Eval and interpolation
Defining macros
Built-in macros
Reflection capabilities
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
Chapter 9. Running External Programs
Running shell commands
Calling C and FORTRAN
Calling Python
Performance tips
Chapter 10. The Standard Library and Packages