June 2019
Intermediate to advanced
218 pages
5h 19m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, function or method names, folder names, and filenames. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."
A block of code is set as follows:
struct Pixel{T} x::Int64 y::Int64 color::T end
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
function sum_cols_matrix(x) num_cols = size(x, 2) s = zeros(num_cols) for i = 1:num_cols s[i] = sum_vector(x[:, i]) end return s end
Most code snippets in this book have been typed at the Julia REPL. This is denoted by the julia> prompt. Such a listing ...
Read now
Unlock full access