├── .gitignore
├── .travis.yml
├── 00_intro_numerical_methods.ipynb
├── 01_intro_to_python.ipynb
├── 02_NumPy.ipynb
├── 03_matplotlib.ipynb
├── 04_error.ipynb
├── 05_root_finding_optimization.ipynb
├── 06_interpolation.ipynb
├── 07_differentiation.ipynb
├── 08_quadrature.ipynb
├── 09_ODE_ivp_part1.ipynb
├── 09_ODE_ivp_part2.ipynb
├── 10.1_SVD.ipynb
├── 10_LA_intro.ipynb
├── 11_LA_QR.ipynb
├── 12_LA_conditioning_stability.ipynb
├── 13_LA_eigen.ipynb
├── 14_LA_iterative.ipynb
├── 15_LA_gaussian.ipynb
├── 16_ODE_BVP.ipynb
├── LICENSE
├── README.md
├── data
└── sunspot.dat
├── extras
└── 00_intro_numerical_methods-extra-examples.ipynb
├── images
├── CC-BY.png
├── Fenics_tc_vm.png
├── MakeGoodChoices.gif
├── RuiningMyLife.gif
├── bound_matrix_multiply.png
├── ellipses.png
├── ellipses_CG.png
├── golden_section.png
├── horners_method_big_count.png
├── householder.png
├── linear_regression.png
├── lsq_projection.png
├── mathModeling.png
├── mathModeling.svg
└── siemens-volrender0000_kirby_modeling.png
├── peer_review.ipynb
├── requirements.txt
├── style.css
└── test.py
/.gitignore:
--------------------------------------------------------------------------------
1 | .ipynb_checkpoints/*
2 | *.slides.html
3 | peer_review.html
4 | *template.ipynb
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: python
2 | sudo: true
3 |
4 | python:
5 | - "2.7"
6 | - "3.6"
7 |
8 | before_install:
9 | - sudo apt-get update -qq
10 | # - git clone --branch=master --depth=100 --quiet git://github.com/mandli/intro-numerical-methods
11 | # - git checkout master
12 |
13 | install:
14 | - pip install -U pip setuptools # Travis breaks without this
15 | - pip install -r requirements.txt
16 |
17 | script:
18 | - python test.py
--------------------------------------------------------------------------------
/02_NumPy.ipynb:
--------------------------------------------------------------------------------
1 | {
2 | "cells": [
3 | {
4 | "cell_type": "markdown",
5 | "metadata": {
6 | "slideshow": {
7 | "slide_type": "skip"
8 | }
9 | },
10 | "source": [
11 | "
\n",
31 | " \n",
32 | " Criteria | \n",
33 | " 3 points | \n",
34 | " 2 points | \n",
35 | " 1 point | \n",
36 | "
\n",
37 | " \n",
38 | " Readability | \n",
39 | " \n",
40 | " - Doc-strings are clear and accurate
\n",
41 | " - Variables and functions are named descriptively when useful
\n",
42 | " - Comments are placed in appropriate places and are clear and accurate
\n",
43 | " \n",
44 | " | \n",
45 | " \n",
46 | " - Doc-strings are present but not completely descriptive
\n",
47 | " - Variables and functions are sometimes named helpfully
\n",
48 | " - Comments are present but not always accurate or in the most helpful of places
\n",
49 | " \n",
50 | " | \n",
51 | "\n",
52 | " \n",
53 | " - No doc-strings
\n",
54 | " - Variables and functions are named indecipherably
\n",
55 | " - No or inaccurate comments
\n",
56 | " \n",
57 | " | \n",
58 | "
\n",
59 | " \n",
60 | " Style | \n",
61 | " \n",
62 | " - PEP 8 or other style is consistent
\n",
63 | " - Indentation is clean and not mixed
\n",
64 | " \n",
65 | " | \n",
66 | " - Style is mostly consistent with something
\n",
67 | " \n",
68 | " | \n",
69 | " \n",
70 | " - Style is of a by-gone era but may come back someday (not today)
\n",
71 | " \n",
72 | " | \n",
73 | "
\n",
74 | " \n",
75 | " Code Awesome | \n",
76 | " \n",
77 | " - Code was succinct and clean
\n",
78 | " - Upon a glance you completely understood the code
\n",
79 | " - This code defines elegance
\n",
80 | " | \n",
81 | " \n",
82 | " - Code was overall clean but there were a couple spots
\n",
83 | " - Code was mostly clear except for a couple of spots
\n",
84 | " - Code worked but may have been a bit hard to follow
\n",
85 | " | \n",
86 | " \n",
87 | " - Code had large sections that did nothing
\n",
88 | " - Code was very hard to follow
\n",
89 | " - Code got the job done but no one would ever understand why
\n",
90 | " | \n",
91 | "
\n",
92 | "
\n"
93 | ]
94 | }
95 | ],
96 | "metadata": {
97 | "kernelspec": {
98 | "display_name": "Python 2",
99 | "language": "python",
100 | "name": "python2"
101 | },
102 | "language_info": {
103 | "codemirror_mode": {
104 | "name": "ipython",
105 | "version": 3
106 | },
107 | "file_extension": ".py",
108 | "mimetype": "text/x-python",
109 | "name": "python",
110 | "nbconvert_exporter": "python",
111 | "pygments_lexer": "ipython3",
112 | "version": "3.6.2"
113 | },
114 | "latex_envs": {
115 | "bibliofile": "biblio.bib",
116 | "cite_by": "apalike",
117 | "current_citInitial": 1,
118 | "eqLabelWithNumbers": true,
119 | "eqNumInitial": 0
120 | }
121 | },
122 | "nbformat": 4,
123 | "nbformat_minor": 1
124 | }
125 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | six
2 | numpy >= 1.12
3 | matplotlib >= 2.0.0
4 | sympy
5 | scipy
6 | jupyter
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 |