320
Index
Discontinuous coefficient, 238
Divergence, 185
Division
quotient, 45
remainder, 45
DocOnce, xii
Domain, 157, 162, 163, 288
complex, 163
Double integral
midpoint, 157
Double sum, 159
Dynamical system, 203
elif, 68
else, 68
Emacs, 11, 314
Error
asymptotic, 152
function (erf), 141
message, 33
rounding, 45, 154
tolerance, 154
Euler
pi, 76
Euler’s method, 210, 216
Euler-Cromer method, 245
Exception handling, 33, 106, 186
Execute (a program), 4
exit (sys), 110, 119, 185, 188, 191
exp (notation), 212
Explicit method, 246
False, 46
Fast code, 35
Fibonacci numbers, 125
Finite difference method, 213
Finite precision (of float), 153
Flat program, 275
float
type, 42
Floating point number (float), 7
for loop, 59
header, 59
Format string syntax, 27
Fortran, 2
Forward difference approximation, 215
Forward Euler method, 210
Forward Euler scheme, 216
Fourier series, 101
from, 13
Function, 7, 13, 79
argument, 7
call, 13
definition, 79
global, 88
lambda, 87
local, 88
nested, 88
return, 13, 88
Game, 75
Garbage collection, 36
Gauss quadrature, 145
Gedit, 11, 314
Grid, 213
Halley’s method, 199
Heat equation, 287
Heun’s method, 246
hold (on/off), 24
Idle, 314
if, 68
Implement (a program), 4
Implementation
general, 136
specific, 136
Implicit method, 246
import
interactive session, 39
math, 13, 17
matplotlib.pyplot, 19
matplotlib.pyplot as plt, 18
name change, 18
no prefix, 14
numpy, 17
numpy as np, 19
odespy, 249
prefix, 17
random, 72
sympy as sym, 111
sys, 117
Indent, 60, 66, 68
Indexing
one based, 47
zero based, 47
Infinite loop, 67
Initial condition
ODE, 209
PDE, 288
input, 32
Instability, 299
Instruction, 2
int
type, 42
Integral
analytically, 131
approximately, 131
exact, 131
numerically, 131
Integration points, 132
Interactive session, 5
Interactive use (of Python), 39
Interpreter, 6
Précédent

- 338/350

Suivant