万本电子书0元读

万本电子书0元读

顶部广告

Getting Started with Julia电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Ivo Balbaert

出  版  社:Packt Publishing

出版时间:2015-02-26

字       数:51.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is for you if you are a data scientist or working on any technical or scientific computation projects. The book assumes you have a basic working knowledge of high-level dynamic languages such as MATLAB, R, Python, or Ruby.
目录展开

Getting Started with Julia

Table of Contents

Getting Started with Julia

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

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

MATLAB

R

Python

Useful links

Summary

1. Installing the Julia Platform

Installing Julia

Windows version – usable from Windows XP SP2 onwards

Ubuntu version

OS X

Building from source

Working with Julia's shell

Startup options and Julia scripts

Packages

Adding a new package

Installing and working with Julia Studio

Installing and working with IJulia

Installing Sublime-IJulia

Installing Juno

Other editors and IDEs

How Julia works

Summary

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

Formatting numbers and strings

Regular expressions

Ranges and arrays

Other ways to create arrays

Some common functions for arrays

How to convert an array of chars to a string

Dates and times

Scope and constants

Summary

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

4. Control Flow

Conditional evaluation

Repeated evaluation

The for loop

The while loop

The break statement

The continue statement

Exception handling

Scope revisited

Tasks

Summary

5. Collection Types

Matrices

Tuples

Dictionaries

Keys and values – looping

Sets

Making a set of tuples

Example project – word frequency

Summary

6. More on Types, Methods, and Modules

Type annotations and conversions

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?

Multiple dispatch example

Types and collections – inner constructors

Type unions

Parametric types and methods

Standard modules and paths

Summary

7. Metaprogramming in Julia

Expressions and symbols

Eval and interpolation

Defining macros

Built-in macros

Testing

Debugging

Benchmarking

Starting a task

Reflection capabilities

Summary

8. 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

Distributed arrays

Summary

9. Running External Programs

Running shell commands

Interpolation

Pipelining

Calling C and FORTRAN

Calling Python

Performance tips

Tools to use

Summary

10. The Standard Library and Packages

Digging deeper into the standard library

Julia's package manager

Installing and updating packages

Publishing a package

Graphics in Julia

Using Gadfly on data

Summary

A. List of Macros and Packages

Macros

List of packages

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部