Skip to content
Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
chapter01 Updating julia notebooks to v1.1 Jan 30, 2019
chapter02 Executed all julia notebooks Feb 3, 2019
chapter03 Executed all julia notebooks Feb 3, 2019
chapter04 Executed all julia notebooks Feb 3, 2019
chapter09 Executed all julia notebooks Feb 3, 2019
chapter11 Executed all julia notebooks Feb 3, 2019
chapter12 Executed all julia notebooks Feb 3, 2019
chapter13 Executed all julia notebooks Feb 3, 2019
functions Fix change for v1.1 axes() change Jan 31, 2019
FNC.jl Fixing missing julia packages Jan 30, 2019
Project.toml Updated julia html output Feb 3, 2019
examples.html Tidying up julia tree Jan 31, 2019

Julia codes

These Julia codes are replacements for the MATLAB codes in Fundamentals of Numerical Computation by Driscoll and Braun.


The codes are broken into two groups: functions, designated as such by the text and provided in source code files, and chapter-by-chapter examples, which correspond to Examples in the text and are provided as Jupyter notebooks.

The functions are not bundled as a Julia package, as they are for pedagogical rather than production uses.

Viewing examples

You can see the example results as static HTML files from the links in examples.html. There are links to corresponding Julia scripts as well. As of February 2019, everything here runs in Julia 1.0 and 1.1.

You can also view the examples as notebooks using nbviewer.

Running examples in the browser

You should be able to run the examples without installing anything by visiting this binder:


Be patient with this option, as performance does not appear to be very good, especially when loading Julia packages. Also, the animations do not render.

Running examples locally

Advanced users: If you don't want to change your default Julia environment, you can Pkg.instantiate this directory to cleanly get the necessary packages. However, you will need to do so anew for every Julia session, including each notebook.

The examples and (to a lesser extent) functions are dependent on Julia packages that do not ship with the standard distribution. You must use Pkg.add once to add each of them to a Julia environment. You can find which ones are needed in the Project.toml file of this directory, or you can just add them as you get error messages about them.

To make the functions available within a Julia session, enter include("FNC.jl") (adding in the path as needed). This will create a module called FNC that imports all the functions. All invocations of the functions must be qualified with the module name, as shown in the examples.

You can’t perform that action at this time.